fivocell 5.0.0 → 5.1.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.
Files changed (38) hide show
  1. package/dist/__tests__/code-health.test.d.ts +2 -0
  2. package/dist/__tests__/code-health.test.d.ts.map +1 -0
  3. package/dist/__tests__/code-health.test.js +90 -0
  4. package/dist/__tests__/code-health.test.js.map +1 -0
  5. package/dist/__tests__/developer-velocity.test.d.ts +2 -0
  6. package/dist/__tests__/developer-velocity.test.d.ts.map +1 -0
  7. package/dist/__tests__/developer-velocity.test.js +66 -0
  8. package/dist/__tests__/developer-velocity.test.js.map +1 -0
  9. package/dist/__tests__/error-trends.test.d.ts +2 -0
  10. package/dist/__tests__/error-trends.test.d.ts.map +1 -0
  11. package/dist/__tests__/error-trends.test.js +61 -0
  12. package/dist/__tests__/error-trends.test.js.map +1 -0
  13. package/dist/__tests__/memory-growth.test.d.ts +2 -0
  14. package/dist/__tests__/memory-growth.test.d.ts.map +1 -0
  15. package/dist/__tests__/memory-growth.test.js +61 -0
  16. package/dist/__tests__/memory-growth.test.js.map +1 -0
  17. package/dist/walls/06-memory/stores/code-health.d.ts +40 -0
  18. package/dist/walls/06-memory/stores/code-health.d.ts.map +1 -0
  19. package/dist/walls/06-memory/stores/code-health.js +344 -0
  20. package/dist/walls/06-memory/stores/code-health.js.map +1 -0
  21. package/dist/walls/06-memory/stores/developer-velocity.d.ts +53 -0
  22. package/dist/walls/06-memory/stores/developer-velocity.d.ts.map +1 -0
  23. package/dist/walls/06-memory/stores/developer-velocity.js +225 -0
  24. package/dist/walls/06-memory/stores/developer-velocity.js.map +1 -0
  25. package/dist/walls/06-memory/stores/error-trends.d.ts +53 -0
  26. package/dist/walls/06-memory/stores/error-trends.d.ts.map +1 -0
  27. package/dist/walls/06-memory/stores/error-trends.js +232 -0
  28. package/dist/walls/06-memory/stores/error-trends.js.map +1 -0
  29. package/dist/walls/06-memory/stores/memory-growth.d.ts +34 -0
  30. package/dist/walls/06-memory/stores/memory-growth.d.ts.map +1 -0
  31. package/dist/walls/06-memory/stores/memory-growth.js +150 -0
  32. package/dist/walls/06-memory/stores/memory-growth.js.map +1 -0
  33. package/dist/walls/07-runtime/cli/cli.js +67 -0
  34. package/dist/walls/07-runtime/cli/cli.js.map +1 -1
  35. package/dist/walls/07-runtime/daemon/server.d.ts.map +1 -1
  36. package/dist/walls/07-runtime/daemon/server.js +29 -0
  37. package/dist/walls/07-runtime/daemon/server.js.map +1 -1
  38. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/walls/07-runtime/daemon/server.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEpE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE1E,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAExE,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,EAAE,cAA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;;;;;;;;;;;;;;;CA0EhD,CAAC;AA2sLF,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC"}
@@ -1790,6 +1790,10 @@ const MCP_TOOLS = [
1790
1790
  { name: 'cell_memory_recommend', description: 'Get smart recommendations based on memory patterns', inputSchema: { type: 'object', properties: { project: { type: 'string' } }, required: ['project'] } },
1791
1791
  { name: 'cell_memory_compress', description: 'Compress context for AI tools (compact/full/topic)', inputSchema: { type: 'object', properties: { project: { type: 'string' }, mode: { type: 'string', enum: ['compact', 'full', 'topic'] }, topic: { type: 'string' }, maxWords: { type: 'number' } }, required: ['project'] } },
1792
1792
  { name: 'cell_memory_score', description: 'Get memory health score (0-100) with breakdown', inputSchema: { type: 'object', properties: { project: { type: 'string' } }, required: ['project'] } },
1793
+ { name: 'cell_memory_growth', description: 'Get memory growth trends with ASCII chart and prediction', inputSchema: { type: 'object', properties: { project: { type: 'string' }, days: { type: 'number' } }, required: ['project'] } },
1794
+ { name: 'cell_memory_velocity', description: 'Get developer velocity metrics and score', inputSchema: { type: 'object', properties: { project: { type: 'string' }, days: { type: 'number' } }, required: ['project'] } },
1795
+ { name: 'cell_memory_error_trends', description: 'Get error trend analysis with regression detection', inputSchema: { type: 'object', properties: { project: { type: 'string' }, days: { type: 'number' } }, required: ['project'] } },
1796
+ { name: 'cell_memory_code_health', description: 'Get code health score based on file analysis', inputSchema: { type: 'object', properties: { project: { type: 'string' }, projectDir: { type: 'string' } }, required: ['project', 'projectDir'] } },
1793
1797
  ];
1794
1798
  async function handleMCPToolCall(name, args) {
1795
1799
  try {
@@ -3032,6 +3036,31 @@ async function handleMCPToolCall(name, args) {
3032
3036
  const health = computeMemoryHealth(scoreProject);
3033
3037
  return { health, report: formatHealthReport(health) };
3034
3038
  }
3039
+ case 'cell_memory_growth': {
3040
+ const { computeGrowthTrends, formatGrowthTrend } = require('../../06-memory/stores/memory-growth');
3041
+ const growthProject = args.project || require('path').basename(process.cwd());
3042
+ const growth = computeGrowthTrends(growthProject, args.days || 30);
3043
+ return { growth, formatted: formatGrowthTrend(growth) };
3044
+ }
3045
+ case 'cell_memory_velocity': {
3046
+ const { computeDeveloperVelocity, formatDeveloperVelocity } = require('../../06-memory/stores/developer-velocity');
3047
+ const velProject = args.project || require('path').basename(process.cwd());
3048
+ const velocity = computeDeveloperVelocity(velProject, args.days || 30);
3049
+ return { velocity, formatted: formatDeveloperVelocity(velocity) };
3050
+ }
3051
+ case 'cell_memory_error_trends': {
3052
+ const { computeErrorTrends, formatErrorTrend } = require('../../06-memory/stores/error-trends');
3053
+ const errProject = args.project || require('path').basename(process.cwd());
3054
+ const errorTrend = computeErrorTrends(errProject, args.days || 30);
3055
+ return { errorTrend, formatted: formatErrorTrend(errorTrend) };
3056
+ }
3057
+ case 'cell_memory_code_health': {
3058
+ const { computeCodeHealth, formatCodeHealth } = require('../../06-memory/stores/code-health');
3059
+ const chProject = args.project || require('path').basename(process.cwd());
3060
+ const projectDir = args.projectDir || process.cwd();
3061
+ const codeHealth = computeCodeHealth(projectDir, chProject);
3062
+ return { codeHealth, formatted: formatCodeHealth(codeHealth) };
3063
+ }
3035
3064
  default:
3036
3065
  return { error: `unknown tool: ${name}` };
3037
3066
  }