@chude/memory 4.0.0 → 4.0.2

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 (60) hide show
  1. package/README.md +58 -11
  2. package/dist/application/services/embedding-service.d.ts +8 -1
  3. package/dist/application/services/friction-service.d.ts +18 -2
  4. package/dist/application/services/index.d.ts +11 -1
  5. package/dist/application/services/memory-governance-service.d.ts +65 -0
  6. package/dist/application/services/memory-ranking-service.d.ts +65 -0
  7. package/dist/application/services/persona-profile-service.d.ts +29 -0
  8. package/dist/application/services/projection-registry.d.ts +18 -0
  9. package/dist/application/services/remote-event-sync-service.d.ts +76 -0
  10. package/dist/application/services/smart-context-service.d.ts +34 -1
  11. package/dist/application/services/temporal-graph-service.d.ts +30 -0
  12. package/dist/domain/entities/graph-edge.d.ts +87 -0
  13. package/dist/domain/entities/index.d.ts +5 -0
  14. package/dist/domain/entities/memory-event.d.ts +101 -0
  15. package/dist/domain/entities/memory-governance.d.ts +100 -0
  16. package/dist/domain/entities/memory-utility-metric.d.ts +65 -0
  17. package/dist/domain/entities/persona-entry.d.ts +67 -0
  18. package/dist/domain/ports/capability.d.ts +35 -0
  19. package/dist/domain/ports/embedding.d.ts +21 -0
  20. package/dist/domain/ports/index.d.ts +1 -0
  21. package/dist/domain/ports/redactor.d.ts +3 -0
  22. package/dist/domain/ports/repositories.d.ts +155 -1
  23. package/dist/domain/ports/sources.d.ts +1 -1
  24. package/dist/domain/services/path-decoder.d.ts +1 -1
  25. package/dist/domain/value-objects/project-path.d.ts +2 -2
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.js +774 -328
  28. package/dist/infrastructure/capabilities/capability-status.d.ts +10 -0
  29. package/dist/infrastructure/capabilities/index.d.ts +1 -0
  30. package/dist/infrastructure/database/event-log.d.ts +40 -8
  31. package/dist/infrastructure/database/health-checker.d.ts +22 -1
  32. package/dist/infrastructure/database/index.d.ts +3 -3
  33. package/dist/infrastructure/database/repositories/embedding-repository.d.ts +18 -4
  34. package/dist/infrastructure/database/repositories/friction-repository.d.ts +2 -1
  35. package/dist/infrastructure/database/repositories/graph-repository.d.ts +17 -0
  36. package/dist/infrastructure/database/repositories/index.d.ts +4 -0
  37. package/dist/infrastructure/database/repositories/memory-governance-repository.d.ts +21 -0
  38. package/dist/infrastructure/database/repositories/memory-utility-repository.d.ts +15 -0
  39. package/dist/infrastructure/database/repositories/persona-repository.d.ts +16 -0
  40. package/dist/infrastructure/database/schema.d.ts +40 -0
  41. package/dist/infrastructure/embedding/embedding-provider-factory.d.ts +3 -2
  42. package/dist/infrastructure/embedding/ollama-provider.d.ts +1 -0
  43. package/dist/infrastructure/hooks/config-manager.d.ts +17 -0
  44. package/dist/infrastructure/providers/provider-egress-policy.d.ts +21 -0
  45. package/dist/infrastructure/providers/provider-registry.d.ts +8 -4
  46. package/dist/infrastructure/remote/git-remote-event-transport.d.ts +40 -0
  47. package/dist/infrastructure/security/pattern-redactor.d.ts +3 -0
  48. package/dist/infrastructure/security/secret-audit-service.d.ts +57 -0
  49. package/dist/infrastructure/sources/project-name-resolver.d.ts +2 -2
  50. package/dist/presentation/cli/commands/audit-secrets.d.ts +54 -0
  51. package/dist/presentation/cli/commands/friction/types.d.ts +13 -0
  52. package/dist/presentation/cli/commands/governance.d.ts +27 -0
  53. package/dist/presentation/cli/commands/index.d.ts +6 -0
  54. package/dist/presentation/cli/commands/profile.d.ts +23 -0
  55. package/dist/presentation/cli/commands/remote.d.ts +21 -3
  56. package/dist/presentation/cli/commands/sync/ambient.d.ts +7 -0
  57. package/dist/presentation/cli/commands/sync/types.d.ts +8 -12
  58. package/dist/presentation/cli/formatters/envelope.d.ts +2 -2
  59. package/dist/presentation/cli/index.js +918 -351
  60. package/package.json +9 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chude/memory",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "Cross-project context persistence for Claude Code sessions",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -20,8 +20,11 @@
20
20
  "build:hook": "bun build src/infrastructure/hooks/sync-hook-script.ts --outfile=dist/sync-hook.js --target=bun",
21
21
  "test": "bun test",
22
22
  "test:coverage": "bun run scripts/run-istanbul-bun-coverage.ts --coverage-dir coverage && bun run scripts/check-coverage-thresholds.ts --summary coverage/coverage-summary.json --threshold 95",
23
- "quality": "bun run typecheck && bun run build && bun test --timeout 15000 && bun run test:isolation && bun run test:coverage && bun audit",
23
+ "eval:v5": "bun run scripts/eval-v5.ts",
24
+ "eval:v5:market": "bun run scripts/eval-v5.ts --market-ready",
25
+ "quality": "bun run typecheck && bun run build && bun test --timeout 15000 && bun run test:isolation && bun run eval:v5 && bun run test:coverage && bun audit",
24
26
  "test:smoke": "bun test tests/smoke",
27
+ "verify:published": "bun run scripts/verify-published-package.ts",
25
28
  "test:isolation": "bun run scripts/check-test-isolation.ts",
26
29
  "typecheck": "tsc --noEmit && tsc --project tsconfig.scripts.json",
27
30
  "lint": "bun run typecheck",
@@ -45,7 +48,7 @@
45
48
  "istanbul-lib-report": "^3.0.1",
46
49
  "istanbul-reports": "^3.2.0",
47
50
  "typescript": "^5.5.0",
48
- "vitest": "4.1.7"
51
+ "vitest": "4.1.9"
49
52
  },
50
53
  "engines": {
51
54
  "bun": ">=1.0.0"
@@ -63,7 +66,7 @@
63
66
  "url": "git+ssh://git@github.com/chudeemeke/memory-nexus.git"
64
67
  },
65
68
  "dependencies": {
66
- "@anthropic-ai/claude-code": "2.1.152",
69
+ "@anthropic-ai/claude-code": "2.1.185",
67
70
  "@anthropic-ai/sdk": "0.98.1",
68
71
  "@huggingface/transformers": "4.2.0",
69
72
  "@inquirer/search": "4.2.0",
@@ -81,10 +84,10 @@
81
84
  "fast-uri": "3.1.2",
82
85
  "picomatch": "4.0.4",
83
86
  "postcss": "8.5.15",
84
- "protobufjs": "8.4.2",
87
+ "protobufjs": "8.6.4",
85
88
  "qs": "6.15.2",
86
89
  "rollup": "4.60.4",
87
- "vite": "8.0.14",
90
+ "vite": "8.0.16",
88
91
  "yaml": "2.9.0"
89
92
  },
90
93
  "trustedDependencies": [