@farming-labs/theme 0.2.130 → 0.2.132

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 CHANGED
@@ -1127,7 +1127,11 @@ function scanDocsDir(docsDir, entry, locale, excludedDirs = [], publicPath = `/$
1127
1127
  rawContent,
1128
1128
  agentFallbackRawContent: agentRawContent !== rawContent ? agentRawContent : void 0,
1129
1129
  url,
1130
- sourcePath: pageSource.replace(/\\/g, "/"),
1130
+ sourcePath: path.relative(
1131
+ /* turbopackIgnore: true */
1132
+ docsDir,
1133
+ pageSource
1134
+ ).replace(/\\/g, "/"),
1131
1135
  lastmod: normalizeFrontmatterLastmod(data.lastmod),
1132
1136
  lastModified: reader.stat(pageSource).mtime.toISOString(),
1133
1137
  locale,
@@ -3080,6 +3084,7 @@ function createDocsAPI(options) {
3080
3084
  fallbackSkillDocument,
3081
3085
  publishedSkills: needsSkill ? await getPublishedAgentSkills() : [],
3082
3086
  agentCard: options?.agent?.a2a,
3087
+ apiCatalogOpenapi: options?.agent?.apiCatalog?.openapi,
3083
3088
  origin: url.origin,
3084
3089
  entry,
3085
3090
  docsPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/theme",
3
- "version": "0.2.130",
3
+ "version": "0.2.132",
4
4
  "description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
5
5
  "keywords": [
6
6
  "docs",
@@ -161,7 +161,7 @@
161
161
  "tsdown": "^0.20.3",
162
162
  "typescript": "^5.9.3",
163
163
  "vitest": "^4.1.8",
164
- "@farming-labs/docs": "0.2.130"
164
+ "@farming-labs/docs": "0.2.132"
165
165
  },
166
166
  "peerDependencies": {
167
167
  "@farming-labs/docs": ">=0.0.1",