@claude-flow/cli 3.38.13 → 3.38.14

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 +1 @@
1
- 3.38.13
1
+ 3.38.14
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": {
3
- "version": "3.38.13",
3
+ "version": "3.38.14",
4
4
  "files": {
5
5
  "auto-memory-hook.mjs": "85fe05c757421c52137c0bc8545a0896bab6b4714538c2a11d1d0835bfcc8c1c",
6
6
  "hook-handler.cjs": "dae295fb9ae2626b89899c19a20cc911541af82b52d2eeb9b214d618b96e9a86",
@@ -8,6 +8,6 @@
8
8
  "statusline.cjs": "0457fe53f8cd2c56458ff178392536a5868efd1a573665fa43bc01d2d95ca677"
9
9
  }
10
10
  },
11
- "signature": "V8Wxea6WL3Y6pa8RgPLLR+P2AuCu0HPq9kJ3UCtyGi12Zgk1X4NICNYxhuwftErwnyS2+zpjZ/XqmF03hsR9Cg==",
11
+ "signature": "HkAB4ZAhg/nQ7kKEyKXmCGeH+fx5op+LMEUdrjLcrVuuIxN6j9fFadcPslwN+zeOCzff+RTrU3mOBfYKJO6lDg==",
12
12
  "algorithm": "ed25519"
13
13
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "generation": 5,
4
- "generatedAt": "2026-08-21T14:18:22.552Z",
5
- "gitSha": "0f3c4510",
4
+ "generatedAt": "2026-08-21T14:30:26.881Z",
5
+ "gitSha": "703e7741",
6
6
  "catalog": {
7
7
  "agents": 165,
8
8
  "tools": 397,
@@ -936,11 +936,22 @@ export async function bridgeStoreEntry(options) {
936
936
  persistWarning = `sql.js fallback driver in use — this write may not be durably persisted to disk (${msg}). Install better-sqlite3's native binding to restore durable writes (see issue #2968: npm rebuild better-sqlite3, or reinstall with install scripts enabled).`;
937
937
  }
938
938
  }
939
- // Phase 2: Write-through to TieredCache
939
+ // Phase 2: Invalidate cache so the next read fetches the fresh row.
940
+ //
941
+ // #3051 — this used to be a write-through with a partial payload
942
+ // (`{ id, key, namespace, content, embedding }` — missing `tags`,
943
+ // access_count, timestamps, metadata, provenance_type). Any read that
944
+ // hit the cache then returned `tags: cached.tags || []` = `[]` for the
945
+ // very entry that had just been written with real tags, so
946
+ // `memory_store({ tags })` → `memory_retrieve()` looked like it silently
947
+ // dropped tags. Invalidating instead of partial-cache-set forces the
948
+ // next `bridgeGetEntry` to load the authoritative row (which correctly
949
+ // parses tags/metadata from the JSON columns) and repopulate the cache
950
+ // from that full shape.
940
951
  const safeNs = String(namespace).replace(/:/g, '_');
941
952
  const safeKey = String(key).replace(/:/g, '_');
942
953
  const cacheKey = `entry:${safeNs}:${safeKey}`;
943
- await cacheSet(registry, cacheKey, { id, key, namespace, content: value, embedding: embeddingJson });
954
+ await cacheInvalidate(registry, cacheKey);
944
955
  // Phase 4: AttestationLog write audit
945
956
  await logAttestation(registry, 'store', id, { key, namespace, hasEmbedding: !!embeddingJson });
946
957
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.38.13",
3
+ "version": "3.38.14",
4
4
  "type": "module",
5
5
  "description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",