mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
- Expand input validation from 7/28 to 27/28 MCP tool files (~120+ handlers) - Eliminate 19 `any` types in v3 commands (2 justified remain in neural.ts) - Wire providers list/test to real config + HTTP API calls - Remove fabricated Token Optimizer metrics (+= 200, 352x, 32%, 95% claims) - Add intelligence layer content-based dedup in load/store/compaction - Fix vitest config: externalize optional deps (agentic-flow, agentdb) - Fix test assertions for GitHub tools handler return shapes - Rebuild integration dist to purge stale claims from compiled output - ADR-085: documents all 7 remediation items and decisions Closes #1425 Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
28 lines
673 B
TypeScript
28 lines
673 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
conditions: ['node'],
|
|
},
|
|
plugins: [
|
|
{
|
|
name: 'externalize-optional-deps',
|
|
enforce: 'pre',
|
|
resolveId(source) {
|
|
// Don't let Vite resolve optional deps that may have missing subpath exports
|
|
if (source.startsWith('agentic-flow')) return { id: source, external: true };
|
|
if (source.startsWith('agentdb')) return { id: source, external: true };
|
|
return null;
|
|
},
|
|
},
|
|
],
|
|
test: {
|
|
environment: 'node',
|
|
include: ['__tests__/**/*.test.ts'],
|
|
globals: true,
|
|
coverage: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
});
|