@anubhav-choubey/web-for-agents 0.1.0 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anubhav-choubey/web-for-agents",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "SEO and AI-agent readiness for React + Vite: head tags, JSON-LD, prerendering, markdown pages, llms.txt, agents.json and WebMCP",
5
5
  "license": "MIT",
6
6
  "author": "Anubhav Choubey",
@@ -1,25 +0,0 @@
1
- // src/shared/bots.ts
2
- var AI_BOTS = {
3
- training: [
4
- "GPTBot",
5
- "ClaudeBot",
6
- "CCBot",
7
- "Google-Extended",
8
- "Applebot-Extended",
9
- "Meta-ExternalAgent",
10
- "Bytespider",
11
- "cohere-training-data-crawler"
12
- ],
13
- search: [
14
- "OAI-SearchBot",
15
- "ChatGPT-User",
16
- "Claude-SearchBot",
17
- "Claude-User",
18
- "PerplexityBot",
19
- "Perplexity-User"
20
- ]
21
- };
22
-
23
- export {
24
- AI_BOTS
25
- };
@@ -1,13 +0,0 @@
1
- // src/shared/agent.ts
2
- var ACTION_NAME_RE = /^[A-Za-z0-9_.-]{1,128}$/;
3
- function isValidActionName(name) {
4
- return typeof name === "string" && ACTION_NAME_RE.test(name);
5
- }
6
- var AGENT_GLOBAL_VERSION = 1;
7
- var AGENT_MAP_VERSION = 1;
8
-
9
- export {
10
- isValidActionName,
11
- AGENT_GLOBAL_VERSION,
12
- AGENT_MAP_VERSION
13
- };