@skein-js/nextjs 0.9.0 → 0.10.0

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/README.md CHANGED
@@ -74,6 +74,18 @@ The background run worker and the in-memory driver need a **long-lived Node proc
74
74
  [Redis queue](../runtime-redis) + [Postgres store](../storage-postgres) (pass `{ deps }` from
75
75
  [`@skein-js/runtime`](../runtime)'s `buildRuntime`) so state and runs don't depend on one process.
76
76
 
77
+ If you use the `langgraph.json` on-ramp (`{ config }`, or `buildRuntime`), keep the graph loader out
78
+ of the bundle:
79
+
80
+ ```js
81
+ // next.config.mjs
82
+ export default { serverExternalPackages: ["@langchain/langgraph-api", "@typescript/vfs"] };
83
+ ```
84
+
85
+ The `{ deps }` / `embedPostgresGraphs` path never reaches that loader and needs no externals. Full
86
+ details, including the "Critical dependency" warning, in
87
+ [docs/bundling.md](../../docs/bundling.md).
88
+
77
89
  ## API
78
90
 
79
91
  - **`createSkeinRouteHandlers(options): SkeinRouteHandlers`** — App Router (recommended); returns
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { SkeinRuntimeOptions, ResolvedRuntimeDeps, ResolvedProtocolRuntime } from '@skein-js/server-kit';
2
- export { SkeinRuntimeOptions, sendNodeError, sendNodeResponse } from '@skein-js/server-kit';
2
+ export { RunWorkerOptions, SkeinRuntimeOptions, sendNodeError, sendNodeResponse } from '@skein-js/server-kit';
3
3
  import { IncomingMessage, ServerResponse } from 'node:http';
4
4
  import { GraphInvokeOptions, ProtocolResponse, Logger } from '@skein-js/agent-protocol';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skein-js/nextjs",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Next.js adapter for skein-js — serve the Agent Protocol from App Router or Pages Router API routes.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Maina Wycliffe <wmmaina7@gmail.com>",
@@ -27,7 +27,8 @@
27
27
  "exports": {
28
28
  ".": {
29
29
  "types": "./dist/index.d.ts",
30
- "import": "./dist/index.js"
30
+ "import": "./dist/index.js",
31
+ "default": "./dist/index.js"
31
32
  }
32
33
  },
33
34
  "files": [
@@ -40,9 +41,9 @@
40
41
  "node": ">=20"
41
42
  },
42
43
  "dependencies": {
43
- "@skein-js/agent-protocol": "0.9.0",
44
- "@skein-js/core": "0.9.0",
45
- "@skein-js/server-kit": "0.9.0"
44
+ "@skein-js/agent-protocol": "0.10.0",
45
+ "@skein-js/core": "0.10.0",
46
+ "@skein-js/server-kit": "0.10.0"
46
47
  },
47
48
  "peerDependencies": {
48
49
  "@langchain/langgraph": "^1.4.0",
@@ -51,7 +52,7 @@
51
52
  "devDependencies": {
52
53
  "@langchain/core": "^1.2.0",
53
54
  "@langchain/langgraph": "^1.4.0",
54
- "@skein-js/storage-memory": "0.9.0"
55
+ "@skein-js/storage-memory": "0.10.0"
55
56
  },
56
57
  "publishConfig": {
57
58
  "access": "public"