@usenotra/agentside 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/dist/build.js +1 -1
  2. package/package.json +1 -1
package/dist/build.js CHANGED
@@ -107,7 +107,7 @@ export function vercelRoutes(paths) {
107
107
  const rewrites = conditions.flatMap((condition) => [
108
108
  ...(!paths || paths.includes("/") ? [{ source: "/", has: [condition], destination: "/index.md" }] : []),
109
109
  ...(!nested
110
- ? [{ source: "/((?!.*\\.)[^?]*[^/])/?", has: [condition], destination: "/$1.md" }]
110
+ ? [{ source: "/:path((?!.*\\.).*[^/])", has: [condition], destination: "/:path.md" }]
111
111
  : nested.length > 0
112
112
  ? [{ source: `/:path(${nested.join("|")})`, has: [condition], destination: "/:path.md" }]
113
113
  : []),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usenotra/agentside",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Serve markdown to AI agents and A/B test what they read. Built on Effect. By Notra.",
5
5
  "keywords": [
6
6
  "ai",