@axiom-lattice/pg-stores 4.1.1 → 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.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +46 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -6
- package/src/createPgStoreConfig.ts +5 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/pg-stores@
|
|
2
|
+
> @axiom-lattice/pg-stores@5.0.0 build /home/runner/work/agentic/agentic/packages/pg-stores
|
|
3
3
|
> tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2020
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m524.15 KB[39m
|
|
12
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m970.33 KB[39m
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 1448ms
|
|
14
|
+
[32mCJS[39m [1mdist/index.js [22m[32m533.89 KB[39m
|
|
15
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m970.64 KB[39m
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 1451ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 15489ms
|
|
19
19
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m112.00 KB[39m
|
|
20
20
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m112.00 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# @axiom-lattice/pg-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.1.1
|
|
4
50
|
|
|
5
51
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -14840,9 +14840,11 @@ async function createPgStoreConfig(connectionString) {
|
|
|
14840
14840
|
mm.register(addShareKind);
|
|
14841
14841
|
await mm.migrate();
|
|
14842
14842
|
const checkpoint = import_langgraph_checkpoint_postgres.PostgresSaver.fromConnString(connectionString);
|
|
14843
|
-
|
|
14843
|
+
try {
|
|
14844
|
+
await checkpoint.setup();
|
|
14845
|
+
} catch (err) {
|
|
14844
14846
|
console.error("[pg-stores] Failed to setup checkpoint table:", err.message || err);
|
|
14845
|
-
}
|
|
14847
|
+
}
|
|
14846
14848
|
const opts = { pool };
|
|
14847
14849
|
const taskWorkItemStore = new PostgreSQLTaskWorkItemStore(pool);
|
|
14848
14850
|
return {
|