@agentnext/next 0.1.1 → 0.1.2

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/README.md +25 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # AgentNext Next
2
+
3
+ Server-side and App Router integration helpers for AgentNext in Next.js.
4
+
5
+ ## Overview
6
+ Add AgentNext service integration to Next.js apps with runtime-aware server execution and app-router patterns.
7
+
8
+ ## Features
9
+ - Next.js runtime helpers
10
+ - Server-side execution hooks
11
+ - Auth-aware orchestration support
12
+
13
+ ## Installation
14
+ ```bash
15
+ npm install @agentnext/next @agentnext/core
16
+ ```
17
+
18
+ ## Usage
19
+ ```ts
20
+ import { withAgentNext } from "@agentnext/next";
21
+
22
+ export default withAgentNext(async function Page() {
23
+ return <div>AgentNext + Next.js</div>;
24
+ });
25
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentnext/next",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Next.js adapter for AgentNext — App Router integration, server execution, auth propagation",
5
5
  "license": "MIT",
6
6
  "author": "AgentNext",
@@ -35,7 +35,7 @@
35
35
  "prepublishOnly": "npm run build"
36
36
  },
37
37
  "dependencies": {
38
- "@agentnext/core": "^0.1.0"
38
+ "@agentnext/core": "^0.1.2"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "next": "^14.0.0 || ^15.0.0"