@farming-labs/theme 0.1.33 → 0.1.34
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/dist/docs-api.mjs +3 -0
- package/package.json +2 -2
package/dist/docs-api.mjs
CHANGED
|
@@ -38,6 +38,7 @@ const DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE = "/.well-known/agent";
|
|
|
38
38
|
const DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE = "/.well-known/agent.json";
|
|
39
39
|
const DEFAULT_MCP_ROUTE = "/api/docs/mcp";
|
|
40
40
|
const DEFAULT_MCP_PUBLIC_ROUTE = "/mcp";
|
|
41
|
+
const DEFAULT_MCP_WELL_KNOWN_ROUTE = "/.well-known/mcp";
|
|
41
42
|
const DEFAULT_LLMS_TXT_ROUTE = "/llms.txt";
|
|
42
43
|
const DEFAULT_LLMS_FULL_TXT_ROUTE = "/llms-full.txt";
|
|
43
44
|
const DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE = "/.well-known/llms.txt";
|
|
@@ -248,6 +249,8 @@ function buildAgentSpec({ origin, entry, i18n, search, mcp, feedback, llms }) {
|
|
|
248
249
|
endpoint: mcp.route,
|
|
249
250
|
defaultEndpoint: DEFAULT_MCP_PUBLIC_ROUTE,
|
|
250
251
|
publicEndpoint: DEFAULT_MCP_PUBLIC_ROUTE,
|
|
252
|
+
wellKnownEndpoint: DEFAULT_MCP_WELL_KNOWN_ROUTE,
|
|
253
|
+
publicEndpoints: [DEFAULT_MCP_PUBLIC_ROUTE, DEFAULT_MCP_WELL_KNOWN_ROUTE],
|
|
251
254
|
canonicalEndpoint: DEFAULT_MCP_ROUTE,
|
|
252
255
|
name: mcp.name,
|
|
253
256
|
version: mcp.version,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/theme",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"tsdown": "^0.20.3",
|
|
134
134
|
"typescript": "^5.9.3",
|
|
135
135
|
"vitest": "^3.2.4",
|
|
136
|
-
"@farming-labs/docs": "0.1.
|
|
136
|
+
"@farming-labs/docs": "0.1.34"
|
|
137
137
|
},
|
|
138
138
|
"peerDependencies": {
|
|
139
139
|
"@farming-labs/docs": ">=0.0.1",
|