@traceten/ai-crawl 0.1.1 → 1.0.0
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 +5 -0
- package/README.md +2 -1
- package/dist/matcher.d.ts +3 -3
- package/dist/matcher.js +3 -3
- package/package.json +14 -2
- package/src/matcher.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
7
|
|
|
8
|
+
## [1.0.0] - Unreleased
|
|
9
|
+
|
|
10
|
+
First stable release. No functional change since 0.1.1 — the API has held
|
|
11
|
+
steady in production use, so this marks it stable rather than adding to it.
|
|
12
|
+
|
|
8
13
|
## [0.1.1] - 2026-09-05
|
|
9
14
|
|
|
10
15
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
<img src="https://traceten.com/logos/traceten-wordmark-black.png" alt="Traceten" width="320" />
|
|
2
|
+
|
|
1
3
|
# @traceten/ai-crawl
|
|
2
4
|
|
|
3
|
-
[](https://github.com/traceten/ai-crawl/actions/workflows/ci.yml)
|
|
4
5
|
[](https://www.npmjs.com/package/@traceten/ai-crawl)
|
|
5
6
|
[](./LICENSE)
|
|
6
7
|
[](https://nodejs.org)
|
package/dist/matcher.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Anchored two-tier user-agent matching.
|
|
3
3
|
*
|
|
4
|
-
* NEVER `includes()` on the whole string
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* NEVER `includes()` on the whole string. Substring matching false-positives
|
|
5
|
+
* on ordinary browser traffic: a UA containing `grok` or `copilot` anywhere
|
|
6
|
+
* would be reported as a crawler. Follows
|
|
7
7
|
* the same anchoring discipline Traceten's server-side classifier uses,
|
|
8
8
|
* adapted for crawler UAs where the token sits mid-string
|
|
9
9
|
* (`Mozilla/5.0 … compatible; GPTBot/1.1; +https://openai.com/gptbot`).
|
package/dist/matcher.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Anchored two-tier user-agent matching.
|
|
3
3
|
*
|
|
4
|
-
* NEVER `includes()` on the whole string
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* NEVER `includes()` on the whole string. Substring matching false-positives
|
|
5
|
+
* on ordinary browser traffic: a UA containing `grok` or `copilot` anywhere
|
|
6
|
+
* would be reported as a crawler. Follows
|
|
7
7
|
* the same anchoring discipline Traceten's server-side classifier uses,
|
|
8
8
|
* adapted for crawler UAs where the token sits mid-string
|
|
9
9
|
* (`Mozilla/5.0 … compatible; GPTBot/1.1; +https://openai.com/gptbot`).
|
package/package.json
CHANGED
|
@@ -1,16 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@traceten/ai-crawl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Traceten server-side AI crawler tracking — see the GPTBot/ClaudeBot/PerplexityBot crawls that browser JavaScript can never see. Five adapters, zero dependencies, never blocks a response.",
|
|
6
6
|
"keywords": [
|
|
7
|
+
"traceten",
|
|
8
|
+
"traceten.com",
|
|
7
9
|
"ai-crawler",
|
|
8
10
|
"gptbot",
|
|
9
11
|
"claudebot",
|
|
10
12
|
"perplexitybot",
|
|
11
13
|
"bot-detection",
|
|
12
14
|
"analytics",
|
|
13
|
-
"
|
|
15
|
+
"ai-analytics",
|
|
16
|
+
"web-analytics",
|
|
17
|
+
"ai-traffic",
|
|
18
|
+
"ai-visibility",
|
|
19
|
+
"chatgpt",
|
|
20
|
+
"perplexity",
|
|
21
|
+
"llm-traffic",
|
|
22
|
+
"generative-engine-optimization",
|
|
23
|
+
"aeo",
|
|
24
|
+
"server-side-analytics",
|
|
25
|
+
"nodejs"
|
|
14
26
|
],
|
|
15
27
|
"license": "MIT",
|
|
16
28
|
"homepage": "https://docs.traceten.com/install/ai-crawler-tracking",
|
package/src/matcher.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Anchored two-tier user-agent matching.
|
|
3
3
|
*
|
|
4
|
-
* NEVER `includes()` on the whole string
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* NEVER `includes()` on the whole string. Substring matching false-positives
|
|
5
|
+
* on ordinary browser traffic: a UA containing `grok` or `copilot` anywhere
|
|
6
|
+
* would be reported as a crawler. Follows
|
|
7
7
|
* the same anchoring discipline Traceten's server-side classifier uses,
|
|
8
8
|
* adapted for crawler UAs where the token sits mid-string
|
|
9
9
|
* (`Mozilla/5.0 … compatible; GPTBot/1.1; +https://openai.com/gptbot`).
|