agentic-flow 3.5.0 → 3.5.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/config/claudeFlow.d.ts +1 -1
  4. package/dist/core/attention-native.d.ts +45 -28
  5. package/dist/core/attention-native.d.ts.map +1 -1
  6. package/dist/core/attention-native.js +131 -84
  7. package/dist/core/attention-native.js.map +1 -1
  8. package/dist/mcp/claudeFlowSdkServer.d.ts.map +1 -1
  9. package/dist/mcp/claudeFlowSdkServer.js +2 -1
  10. package/dist/mcp/claudeFlowSdkServer.js.map +1 -1
  11. package/dist/mcp/fastmcp/servers/claude-flow-sdk.js +2 -1
  12. package/dist/mcp/fastmcp/servers/claude-flow-sdk.js.map +1 -1
  13. package/dist/mcp/fastmcp/servers/http-sse.d.ts.map +1 -1
  14. package/dist/mcp/fastmcp/servers/http-sse.js +2 -1
  15. package/dist/mcp/fastmcp/servers/http-sse.js.map +1 -1
  16. package/dist/mcp/fastmcp/servers/http-streaming-updated.js +2 -1
  17. package/dist/mcp/fastmcp/servers/http-streaming-updated.js.map +1 -1
  18. package/dist/mcp/fastmcp/servers/stdio-full.js +2 -1
  19. package/dist/mcp/fastmcp/servers/stdio-full.js.map +1 -1
  20. package/dist/mcp/standalone-stdio.js +2 -1
  21. package/dist/mcp/standalone-stdio.js.map +1 -1
  22. package/dist/optimizations/configuration-tuning.d.ts +1 -1
  23. package/dist/utils/package-version.d.ts +2 -0
  24. package/dist/utils/package-version.d.ts.map +1 -1
  25. package/dist/utils/package-version.js +4 -0
  26. package/dist/utils/package-version.js.map +1 -1
  27. package/package.json +2 -2
  28. package/dist/core/agentdb-wrapper.d.ts +0 -149
  29. package/dist/core/agentdb-wrapper.d.ts.map +0 -1
  30. package/dist/core/agentdb-wrapper.js +0 -394
  31. package/dist/core/agentdb-wrapper.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [3.5.1] - 2026-11-09
6
+
7
+ ### Fixed
8
+ - **MCP servers report the real version.** `serverInfo.version` of the stdio server that `agentic-flow mcp` starts was a hard-coded `1.0.8`; the in-process SDK server and the FastMCP stdio/HTTP servers said `1.0.0`/`1.1.12`. All now read the installed package version (`mcpServerVersion()` in `src/utils/package-version.ts`). `tests/mcp/server-version.test.ts` starts the stdio server and checks the initialize response (red on 3.5.0: `1.0.8`, `1.0.0`).
9
+ - **`src/core/attention-native.ts` runs on @ruvector/attention 2.x.** Every class failed on 2.x: `FlashAttention(dim)`, `HyperbolicAttention(dim)` and `MoEAttention(dim)` did not construct (2.x needs a block size, a curvature and a `{ dim, numExperts, topK }` config), and `MultiHeadAttention`/`LinearAttention` passed flat arrays where 2.x takes key and value rows. The wrappers now use the 2.x shapes, accept one vector or a list of rows for keys and values, check dimensions, and honour the mask (MultiHead) and `topK` (MoE). `HyperbolicAttention.forward` returns the Poincare distance to the nearest key; `MoEAttention.forward` returns empty `expertWeights` (2.x does not expose them). `tests/integrations/attention-native-wrappers.test.ts` loads the real package and checks FlashAttention against exact softmax attention (7/8 fail on 3.5.0, 8/8 now). The live path (`RuVectorIntelligence`) was fixed in 3.3.1.
10
+
11
+ ### Removed
12
+ - `src/core/agentdb-wrapper.ts` (and its README and two test files). It was not reachable through the package `exports` map and called a reflexion API agentdb never had (`controller.store` with raw vectors), so 8 of its unit tests and 15 of its 19 integration tests failed against agentdb 3.7. Use `AgentDBFast` or agentdb directly.
13
+ - `src/agentdb/tests/frontier-features.test.ts`: it tested the vendored, unshipped copy of agentdb's `CausalMemoryGraph`/`ExplainableRecall` (excluded from the build); 7 of its tests failed on behaviour agentdb itself has since changed or fixed (for example `INSERT OR IGNORE` for provenance sources).
14
+
5
15
  ## [3.5.0] - 2026-11-09
6
16
 
7
17
  ### Added