@skein-js/server-kit 0.19.0 → 0.20.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.
Files changed (2) hide show
  1. package/README.md +9 -7
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
  > Shared, framework-agnostic building blocks for skein-js HTTP adapters.
6
6
 
7
- Part of **[skein-js](../../README.md)** — the open-source alternative to LangGraph Platform for TypeScript: a self-hosted [Agent Protocol](https://github.com/langchain-ai/agent-protocol) server for [LangGraph.js](https://github.com/langchain-ai/langgraphjs), and a drop-in replacement for the LangGraph CLI.
7
+ Part of **[skein-js](https://github.com/skein-js/skein-js)** — the open-source alternative to LangGraph Platform for TypeScript: a self-hosted [Agent Protocol](https://github.com/langchain-ai/agent-protocol) server for [LangGraph.js](https://github.com/langchain-ai/langgraphjs), and a drop-in replacement for the LangGraph CLI.
8
+
9
+ 📖 **Docs:** [Building an adapter](https://skein-js.github.io/skein-js/building-an-adapter)
8
10
 
9
11
  This package is the common ground the framework adapters ([`@skein-js/express`](../server-express),
10
12
  [`@skein-js/fastify`](../server-fastify), [`@skein-js/nestjs`](../server-nestjs),
@@ -24,7 +26,7 @@ handler table.
24
26
  - **In-code embedding** — `embedInMemoryGraphs` / `graphMapToResolver`: build a `ProtocolDeps` around a
25
27
  compiled graph (or map of them) you already hold — **no `langgraph.json`, no CLI** — then pass
26
28
  `{ deps }` to any adapter. `overrides` swaps in production drivers/auth. See
27
- [docs/embedding.md](../../docs/embedding.md).
29
+ [docs/embedding.md](https://skein-js.github.io/skein-js/embedding).
28
30
  - **LangGraph dev-state import** — `readLanggraphDevState` / `loadSnapshotIntoStore` /
29
31
  `describeSnapshot`, from the **`@skein-js/server-kit/dev` subpath**: read an existing
30
32
  `.langgraph_api/` directory and reconstruct skein's own `DevStateSnapshot`, so adopting skein carries
@@ -71,7 +73,7 @@ await server.listen(2024);
71
73
  ```
72
74
 
73
75
  Pass `overrides` to swap in production drivers or an auth engine while keeping the rest in-memory. See
74
- [docs/embedding.md](../../docs/embedding.md).
76
+ [docs/embedding.md](https://skein-js.github.io/skein-js/embedding).
75
77
 
76
78
  ## API
77
79
 
@@ -103,7 +105,7 @@ Pass `overrides` to swap in production drivers or an auth engine while keeping t
103
105
  adapter has to remember it. Free when no logger is configured — it schedules nothing.
104
106
  - **`checkHeapHeadroom(): HeapHeadroom`** — the boot-time counterpart: compares V8's ceiling with the
105
107
  container's cgroup limit and warns when the automatic sizing does not fit (see
106
- [deploy.md](../../docs/deploy.md)).
108
+ [deploy.md](https://skein-js.github.io/skein-js/deploy)).
107
109
  - **`describePoolPressure(runConcurrency, poolMax): string | undefined`** — warns when the worker can
108
110
  execute more runs at once than the Postgres pool can serve.
109
111
  - **`resolveMaxPageSize(explicit?, env?): number`** — the same chain for the store page bound:
@@ -133,7 +135,7 @@ Pass `overrides` to swap in production drivers or an auth engine while keeping t
133
135
  keeping them on the root barrel put a filesystem snapshot deserializer into every adapter's module
134
136
  graph. There is deliberately no root re-export — a re-export is still a static import. The
135
137
  `DevStateCounts` _type_ remains exported from the root, since `export type` is erased. See
136
- [docs/bundling.md](../../docs/bundling.md).
138
+ [docs/bundling.md](https://skein-js.github.io/skein-js/bundling).
137
139
 
138
140
  - **CORS** — `corsFromHttpConfig` / `toCorsOptions` map a `langgraph.json` `http.cors` block to
139
141
  `cors`-style options; `allowedOrigin` / `corsResponseHeaders` / `applyNodeCors` / `sendNodePreflight`
@@ -147,8 +149,8 @@ Pass `overrides` to swap in production drivers or an auth engine while keeping t
147
149
 
148
150
  ## Learn more
149
151
 
150
- - [Building your own adapter](../../docs/building-an-adapter.md)
151
- - [skein-js overview](../../docs/index.md)
152
+ - [Building your own adapter](https://skein-js.github.io/skein-js/building-an-adapter)
153
+ - [skein-js overview](https://skein-js.github.io/skein-js/)
152
154
 
153
155
  ## License
154
156
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skein-js/server-kit",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "Shared, framework-agnostic building blocks for skein-js HTTP adapters — in-memory dev runtime, LangGraph dev-state import, and langgraph.json CORS mapping.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Maina Wycliffe <wmmaina7@gmail.com>",
@@ -49,22 +49,22 @@
49
49
  "cors": "^2.8.5",
50
50
  "superjson": "^2.2.6",
51
51
  "zod": "^3.25.76",
52
- "@skein-js/agent-protocol": "0.19.0",
53
- "@skein-js/langgraph": "0.19.0",
54
- "@skein-js/core": "0.19.0",
55
- "@skein-js/storage-memory": "0.19.0",
56
- "@skein-js/config": "0.19.0"
52
+ "@skein-js/agent-protocol": "0.20.0",
53
+ "@skein-js/config": "0.20.0",
54
+ "@skein-js/core": "0.20.0",
55
+ "@skein-js/langgraph": "0.20.0",
56
+ "@skein-js/storage-memory": "0.20.0"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@langchain/langgraph": "^1.4.0",
60
- "@skein-js/channels": "0.19.0"
60
+ "@skein-js/channels": "0.20.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@langchain/core": "^1.2.9",
64
64
  "@langchain/langgraph": "^1.4.0",
65
65
  "@langchain/langgraph-sdk": "^1.9.0",
66
66
  "@types/cors": "^2.8.17",
67
- "@skein-js/channels": "0.19.0"
67
+ "@skein-js/channels": "0.20.0"
68
68
  },
69
69
  "publishConfig": {
70
70
  "access": "public"