@axiom-lattice/local-stores 4.0.7 → 5.0.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/local-stores@4.0.7 build /home/runner/work/agentic/agentic/packages/local-stores
2
+ > @axiom-lattice/local-stores@5.0.0 build /home/runner/work/agentic/agentic/packages/local-stores
3
3
  > tsup src/index.ts --format cjs,esm --dts --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,11 +10,11 @@
10
10
  ESM Build start
11
11
  CJS dist/index.js 253.25 KB
12
12
  CJS dist/index.js.map 459.22 KB
13
- CJS ⚡️ Build success in 738ms
13
+ CJS ⚡️ Build success in 867ms
14
14
  ESM dist/index.mjs 248.46 KB
15
15
  ESM dist/index.mjs.map 455.49 KB
16
- ESM ⚡️ Build success in 740ms
16
+ ESM ⚡️ Build success in 869ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 12277ms
18
+ DTS ⚡️ Build success in 13283ms
19
19
  DTS dist/index.d.ts 46.24 KB
20
20
  DTS dist/index.d.mts 46.24 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # @axiom-lattice/local-stores
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 587c375: MCP SDK v2, workspace Zod 4, dual-era MCP, and reasoning improvements.
8
+
9
+ **Breaking / runtime**
10
+
11
+ - Migrate to `@modelcontextprotocol/client/server 2.4.0` + `node 2.1.2` and
12
+ `@langchain/mcp-adapters 2.0.1`; remove `@modelcontextprotocol/sdk 1.x`.
13
+ - Unify the workspace on Zod 4.6.7 with no nested/scoped Zod 3 copies. This
14
+ changes Zod schema authoring (`ZodObject` generics, `z.record`, `.issues`,
15
+ explicit optional `z.any`/`z.unknown`) and removes `zod-to-json-schema`.
16
+ - Node.js `>=20.10.0` is now required. See
17
+ `docs/migrations/mcp-sdk-v2.md` for the full migration guide.
18
+ - Unknown/unauthorized Open MCP tools now surface as JSON-RPC errors.
19
+
20
+ **MCP dual-era**
21
+
22
+ - `McpServerConfig.protocolMode` defaults to `auto` (modern `2026-07-28`
23
+ negotiation with legacy fallback); pin `legacy` or `modern` per server.
24
+ - Open MCP serves both eras at the same stateless endpoint, preserving the
25
+ legacy JSON response contract; no sessions or sticky routing.
26
+ - Connection tests report the negotiated protocol revision; the MCP config UI
27
+ exposes an advanced protocol selector.
28
+ - HTTP/SSE adapter-level `reconnect` is legacy-only in mcp-adapters 2.x;
29
+ `auto`/`modern` rely on the manager health-check/backoff loop.
30
+
31
+ **Reasoning**
32
+
33
+ - Stream `reasoning_content` separately from the answer and echo it for
34
+ tool-call continuations on compatible providers.
35
+ - Persist measured reasoning time as `additional_kwargs.reasoning_duration_ms`;
36
+ `ChunkMessageMerger` lifts it to assistant messages and the thinking block
37
+ renders `Thought for Xs` (or `Thought process` without a measurement).
38
+ The field is display-only and stripped before provider requests.
39
+ - Refine the thinking block into a compact custom header with smaller
40
+ icon/type, hover/focus states, and an indented reasoning panel.
41
+ - Left-align the agent creation method cards (manual / external / learn).
42
+
43
+ ### Patch Changes
44
+
45
+ - Updated dependencies [587c375]
46
+ - @axiom-lattice/protocols@7.0.0
47
+ - @axiom-lattice/core@12.0.0
48
+
3
49
  ## 4.0.7
4
50
 
5
51
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiom-lattice/local-stores",
3
- "version": "4.0.7",
3
+ "version": "5.0.0",
4
4
  "description": "Local SQLite-based stores for Axiom Lattice framework",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -21,12 +21,12 @@
21
21
  "author": "",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@langchain/langgraph-checkpoint-sqlite": "^1.0.3",
24
+ "@langchain/langgraph-checkpoint-sqlite": "^1.1.0",
25
25
  "@types/sql.js": "^1.4.11",
26
26
  "sql.js": "^1.14.1",
27
27
  "uuid": "^14.0.1",
28
- "@axiom-lattice/core": "11.0.0",
29
- "@axiom-lattice/protocols": "6.4.0"
28
+ "@axiom-lattice/core": "12.0.0",
29
+ "@axiom-lattice/protocols": "7.0.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/jest": "^29.5.14",
@@ -41,6 +41,9 @@
41
41
  "tsup": "^8.0.1",
42
42
  "typescript": "^5.4.2"
43
43
  },
44
+ "engines": {
45
+ "node": ">=20.10.0"
46
+ },
44
47
  "scripts": {
45
48
  "build": "tsup src/index.ts --format cjs,esm --dts --sourcemap",
46
49
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",