@agentix-security/nextjs 0.1.0 → 0.1.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.
package/dist/index.cjs CHANGED
@@ -506,7 +506,9 @@ function agentixMiddleware(sdk) {
506
506
  expires_in: exp - iat
507
507
  });
508
508
  }
509
- return server_js.NextResponse.next();
509
+ const res = server_js.NextResponse.next();
510
+ res.headers.set("link", `<${baseUrl}/.well-known/ai-agent.json>; rel="agent-discovery"`);
511
+ return res;
510
512
  };
511
513
  }
512
514
  function secure(sdk, intent, handler, opts = {}) {
package/dist/index.js CHANGED
@@ -504,7 +504,9 @@ function agentixMiddleware(sdk) {
504
504
  expires_in: exp - iat
505
505
  });
506
506
  }
507
- return NextResponse.next();
507
+ const res = NextResponse.next();
508
+ res.headers.set("link", `<${baseUrl}/.well-known/ai-agent.json>; rel="agent-discovery"`);
509
+ return res;
508
510
  };
509
511
  }
510
512
  function secure(sdk, intent, handler, opts = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentix-security/nextjs",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Agentix Next.js adapter — AI agent intent-based authorization for Next.js apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",