Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

feat(performance): export resource admission policy

rUv92db002fbc64
diff --git a/v3/@claude-flow/performance/src/index.ts b/v3/@claude-flow/performance/src/index.ts
index f5ddb84700..9cdadf0523 100644
--- a/v3/@claude-flow/performance/src/index.ts
+++ b/v3/@claude-flow/performance/src/index.ts
@@ -2,20 +2,10 @@
* @claude-flow/performance
*
* Performance module for claude-flow v3.
- * Provides benchmarking, Flash Attention validation, and optimization utilities.
- *
- * Target Performance Metrics:
- * - CLI Startup: <500ms (5x faster)
- * - MCP Init: <400ms (4.5x faster)
- * - Agent Spawn: <200ms (4x faster)
- * - Vector Search: <1ms (150x faster)
- * - Memory Write: <5ms (10x faster)
- * - Swarm Consensus: <100ms (5x faster)
- * - Flash Attention: 2.49x-7.47x speedup
- * - Memory Usage: <256MB (50% reduction)
+ * Provides benchmarking, Flash Attention validation, optimization, and
+ * resource-aware admission primitives.
*/
-// Re-export benchmark framework
export {
benchmark,
BenchmarkRunner,
@@ -34,7 +24,6 @@ export {
type PerformanceTarget,
} from './framework/benchmark.js';
-// Re-export Flash Attention integration
export {
FlashAttentionOptimizer,
createFlashAttentionOptimizer,
@@ -45,7 +34,6 @@ export {
type PerformanceMetrics as AttentionMetrics,
} from './attention-integration.js';
-// Re-export Flash Attention benchmarks
export {
AttentionBenchmarkRunner,
formatBenchmarkTable,
@@ -59,5 +47,15 @@ export {
type MemoryProfile,
} from './attention-benchmarks.js';
-// Default export for convenience
+export {
+ decideResourceAdmission,
+ type ResourceVerdict,
+ type ResourceLimit,
+ type ResourceProfile,
+ type ResourceHostSnapshot,
+ type ResourcePolicy,
+ type ResourceAdmissionInput,
+ type ResourceAdmissionDecision,
+} from './resource-admission.js';
+
export { default } from './framework/benchmark.js';