@skein-js/config 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.
- package/README.md +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Loads an unchanged `langgraph.json`, validates it, and resolves each `path:export` graph, its schemas, and the optional custom-auth module.
|
|
4
4
|
|
|
5
|
-
Part of **[skein-js](
|
|
5
|
+
Part of **[skein-js](../../README.md)** — a TypeScript [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.
|
|
6
6
|
|
|
7
7
|
**Status:** 🚧 Pre-alpha — implemented: `langgraph.json` loading, `path:export` graph resolution, graph-schema introspection, env resolution, and custom-auth loading.
|
|
8
8
|
|
|
@@ -40,7 +40,7 @@ Peer dependencies: `@langchain/langgraph` and `@langchain/langgraph-sdk`.
|
|
|
40
40
|
```ts
|
|
41
41
|
import { loadConfig, loadAuthEngine } from "@skein-js/config";
|
|
42
42
|
|
|
43
|
-
const { config, configDir, graphs } = await loadConfig({
|
|
43
|
+
const { config, configDir, graphs } = await loadConfig({ configPath: "./langgraph.json" });
|
|
44
44
|
|
|
45
45
|
const graph = await graphs.load("agent"); // a CompiledGraph or a per-config factory
|
|
46
46
|
const schemas = await graphs.schemas("agent"); // input/output/state/config JSON schemas
|
|
@@ -73,7 +73,7 @@ Reuses `@langchain/langgraph-api`'s `./schema` parser (`getStaticGraphSchema`, `
|
|
|
73
73
|
## Learn more
|
|
74
74
|
|
|
75
75
|
- [LangGraph CLI compatibility](../../docs/langgraph-cli-compat.md) · [Storage](../../docs/storage.md)
|
|
76
|
-
- [skein-js overview](../../docs/index.md) · [Reuse-first architecture](../../docs/reuse.md)
|
|
76
|
+
- [skein-js overview](../../docs/index.md) · [Reuse-first architecture](../../docs/reuse.md) · [Root README](../../README.md)
|
|
77
77
|
|
|
78
78
|
## License
|
|
79
79
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skein-js/config",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "langgraph.json parser and graph loader (path:export) for skein-js.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Maina Wycliffe <wmmaina7@gmail.com>",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@langchain/langgraph-api": "^1.4.0",
|
|
44
44
|
"zod": "^3.25.76",
|
|
45
|
-
"@skein-js/core": "0.2.
|
|
45
|
+
"@skein-js/core": "0.2.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@langchain/langgraph": "^1.4.0",
|