@ainyc/canonry 3.3.2 → 3.3.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.
|
@@ -1488,7 +1488,9 @@ function extractAnswerMentions(answerText, displayName, domains) {
|
|
|
1488
1488
|
const answerBrandKey = brandKeyFromText(answerText);
|
|
1489
1489
|
const normalizedCandidates = brandNormalizedCandidates(displayName);
|
|
1490
1490
|
const brandKeyCandidates = brandKeyCandidatesForMatch(displayName);
|
|
1491
|
-
const matchesNormalized = normalizedCandidates.some(
|
|
1491
|
+
const matchesNormalized = normalizedCandidates.some(
|
|
1492
|
+
(c) => new RegExp(`\\b${escapeRegExp(c)}\\b`).test(answerNormalized)
|
|
1493
|
+
);
|
|
1492
1494
|
const matchesBrandKey = brandKeyCandidates.some(
|
|
1493
1495
|
(c) => c.length >= MIN_BRAND_KEY_LENGTH && answerBrandKey.includes(c)
|
|
1494
1496
|
);
|
|
@@ -1562,7 +1564,6 @@ function brandNormalizedCandidates(displayName) {
|
|
|
1562
1564
|
if (!original) return [];
|
|
1563
1565
|
const stripped = stripBusinessSuffix(original, " ");
|
|
1564
1566
|
if (!stripped || stripped === original) return [original];
|
|
1565
|
-
if (brandKeyFromText(stripped).length < MIN_BRAND_KEY_LENGTH) return [original];
|
|
1566
1567
|
return [original, stripped];
|
|
1567
1568
|
}
|
|
1568
1569
|
function brandKeyCandidatesForMatch(displayName) {
|
package/dist/cli.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
setGoogleAuthConfig,
|
|
18
18
|
showFirstRunNotice,
|
|
19
19
|
trackEvent
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GH5ILITH.js";
|
|
21
21
|
import {
|
|
22
22
|
CcReleaseSyncStatuses,
|
|
23
23
|
CheckScopes,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
saveConfigPatch,
|
|
49
49
|
skillsClientSchema,
|
|
50
50
|
usageError
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-NCGX6UI4.js";
|
|
52
52
|
import {
|
|
53
53
|
apiKeys,
|
|
54
54
|
competitors,
|
package/dist/index.js
CHANGED
package/dist/mcp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainyc/canonry",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Agent-first open-source AEO operating platform - track how answer engines cite your domain",
|
|
6
6
|
"license": "FSL-1.1-ALv2",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"@ainyc/canonry-contracts": "0.0.0",
|
|
65
65
|
"@ainyc/canonry-db": "0.0.0",
|
|
66
66
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
67
|
-
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
68
67
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
68
|
+
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
69
69
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
70
70
|
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
71
71
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
72
|
-
"@ainyc/canonry-provider-
|
|
72
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
73
73
|
"@ainyc/canonry-provider-local": "0.0.0",
|
|
74
|
+
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
74
75
|
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
75
|
-
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
76
76
|
"@ainyc/canonry-provider-perplexity": "0.0.0"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|