Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ruvnet/ruflo
/ functions
Functions
18,477 in github.com/ruvnet/ruflo
⨍
Functions
18,477
◇
Types & classes
6,101
↓ 4 callers
Function
osDir
(p = platform())
plugins/ruflo-core/scripts/witness/lib.mjs:24
↓ 4 callers
Function
pairTrajectoryRows
( rows: TrajectoryRow[], )
v3/@claude-flow/cli/src/ruvector/router-trajectory.ts:313
↓ 4 callers
Function
parseDate
* Parse a date value
v3/plugins/gastown-bridge/src/sanitizers.ts:531
↓ 4 callers
Method
partitionCoherent
* Partition vectors into coherent clusters.
v3/plugins/prime-radiant/__tests__/engines/cohomology.test.ts:154
↓ 4 callers
Function
pass
(msg)
scripts/smoke-memory-stats-legacy-db.mjs:33
↓ 4 callers
Function
pass
(m)
plugins/ruflo-core/scripts/test-consensus-transport.mjs:28
↓ 4 callers
Function
pct
(value: number)
v3/@claude-flow/guidance/src/analyzer.ts:2303
↓ 4 callers
Function
percentile
(sortedArr, p)
v3/@claude-flow/cli/scripts/beir-bootstrap-significance.mjs:52
↓ 4 callers
Method
ping
* Ping to check if SDK is available
v3/@claude-flow/integration/src/sdk-bridge.ts:122
↓ 4 callers
Function
planReplay
( envelope: SignedTrajectoryEnvelope, mutations: ReplayMutation = {}, )
v3/@claude-flow/browser/src/application/signed-trajectory-service.ts:115
↓ 4 callers
Method
preflight
(input: GoapPreflightInput)
v3/@claude-flow/browser/src/application/goap-preflight.ts:81
↓ 4 callers
Method
projectToPoincare
* Projects onto the Poincare ball (||x|| < maxNorm).
v3/@claude-flow/plugins/src/integrations/ruvector/hyperbolic.ts:731
↓ 4 callers
Method
proposeConsensus
(value: unknown)
v3/@claude-flow/swarm/src/queen-coordinator.ts:413
↓ 4 callers
Method
publishManifest
(manifest: Omit<FederationManifest, 'signature'>)
v3/@claude-flow/plugin-agent-federation/src/domain/services/discovery-service.ts:67
↓ 4 callers
Method
publishPattern
* Publish a pattern to IPFS and registry
v3/@claude-flow/cli/src/transfer/store/publish.ts:36
↓ 4 callers
Method
queryHybrid
* Hybrid queries (combine both) * Intelligently merges results from both backends
v3/@claude-flow/memory/src/hybrid-backend.ts:409
↓ 4 callers
Method
querySemantic
* Semantic queries (vector) * Routes to AgentDB for HNSW-based vector search
v3/@claude-flow/memory/src/hybrid-backend.ts:363
↓ 4 callers
Method
question
(prompt: string)
v3/@claude-flow/cli/src/prompt.ts:51
↓ 4 callers
Function
ragMemoryGraphId
(namespace?: string)
plugins/ruflo-graph-intelligence/src/adapters/rag-memory-adapter.ts:39
↓ 4 callers
Method
reactivate
* Transition back to ACTIVE. Legal from SUSPENDED (after cooldown + * probe success — the breaker is responsible for those checks; this * entity
v3/@claude-flow/plugin-agent-federation/src/domain/entities/federation-node.ts:175
↓ 4 callers
Function
readLengthPrefixedString
( buf: Buffer, offset: number )
v3/@claude-flow/memory/src/hnsw-index.ts:1419
↓ 4 callers
Function
readPkg
(relPath)
scripts/audit-wrapper-dep-ranges.mjs:41
↓ 4 callers
Function
readSealedTrajectory
(path: string)
v3/@claude-flow/browser/src/application/signed-trajectory-service.ts:93
↓ 4 callers
Method
readU64AsNumber
Safe for values up to 2^53. Real GGUF files never exceed this for tensor/kv counts.
v3/@claude-flow/cli/src/appliance/gguf-engine.ts:92
↓ 4 callers
Method
recalculateStatus
()
v3/plugins/gastown-bridge/tests/convoy.test.ts:394
↓ 4 callers
Method
receive
(m: { from?: string; type?: string; payload: unknown })
v3/@claude-flow/swarm/__tests__/federation-transport.test.ts:39
↓ 4 callers
Function
record
(event)
scripts/smoke-neural-trader-pipeline.mjs:246
↓ 4 callers
Method
recordAccess
* Record an access to this memory entry
v3/@claude-flow/memory/src/domain/entities/memory-entry.ts:155
↓ 4 callers
Method
recordPattern
* Record a hook pattern.
v3/@claude-flow/plugins/examples/ruvector-plugins/hook-pattern-library.ts:125
↓ 4 callers
Method
recordStep
(trajectoryId: string, action: string, reward: number, stateEmbedding: Float32Array)
v3/@claude-flow/swarm/src/queen-coordinator.ts:423
↓ 4 callers
Function
redactPII
(content: string)
v3/@claude-flow/cli/src/transfer/anonymization/index.ts:103
↓ 4 callers
Function
refreshMcpServers
()
ruflo/src/ruvocal/src/lib/stores/mcpServers.ts:167
↓ 4 callers
Function
refreshSessionCookie
(cookies: Cookies, sessionId: string)
ruflo/src/ruvocal/src/lib/server/auth.ts:83
↓ 4 callers
Method
registerAgentWithDomain
* Register an agent and automatically assign it to the appropriate domain * based on its agent number (1-15)
v3/@claude-flow/swarm/src/unified-coordinator.ts:1410
↓ 4 callers
Method
registerAuthority
* Register a new authority or update an existing one
v3/@claude-flow/guidance/src/memory-gate.ts:322
↓ 4 callers
Method
registerTool
(tool: MCPTool)
v3/@claude-flow/mcp/src/server.ts:285
↓ 4 callers
Method
registerTool
* Register a tool
v3/@claude-flow/shared/src/mcp/server.ts:256
↓ 4 callers
Method
registerTool
* Register a tool
v3/mcp/server.ts:259
↓ 4 callers
Method
removeDeviceFromFleet
(fleetId: string, deviceId: string)
v3/@claude-flow/plugin-iot-cognitum/src/application/iot-coordinator.ts:506
↓ 4 callers
Method
removeIssue
(issueId: string)
v3/plugins/gastown-bridge/tests/convoy.test.ts:139
↓ 4 callers
Method
removePlugin
* Remove a plugin from the graph.
v3/@claude-flow/plugins/src/registry/dependency-graph.ts:214
↓ 4 callers
Method
render
()
v3/@claude-flow/cli-core/src/output.ts:629
↓ 4 callers
Function
renderHeader
* Run the generated statusline against a Claude Code stdin payload. PATH is * neutered so the script's `npx`/`git` probes fail instantly and fall bac
v3/@claude-flow/cli/__tests__/statusline-cost-display.test.ts:43
↓ 4 callers
Method
replay
* Replay events from a specific version
v3/@claude-flow/shared/src/events/event-store.ts:378
↓ 4 callers
Function
reqArr
(o, k, p)
plugins/ruflo-business-pods/scripts/pod-tick.mjs:111
↓ 4 callers
Function
requireArray
(parent: Record<string, unknown>, key: string, path: string, itemValidator: (item: u
v3/@claude-flow/cli/src/business-pods/pod-schema.ts:117
↓ 4 callers
Function
requireFile
(file: string)
v3/@claude-flow/cli/src/commands/appliance.ts:56
↓ 4 callers
Function
reserveBudget
(ledger, amount, expiryMs)
plugins/ruflo-business-pods/scripts/pod-tick.mjs:225
↓ 4 callers
Method
reset
()
v3/@claude-flow/testing/src/helpers/setup-teardown.ts:365
↓ 4 callers
Method
reset
* Reset the arena, returning all objects to their pools * * This is an O(n) operation where n is the number of allocations, * but it's a sing
v3/plugins/gastown-bridge/src/memory/arena.ts:231
↓ 4 callers
Function
resetCrossEncoder
()
v3/@claude-flow/cli/src/memory/cross-encoder-rerank.ts:129
↓ 4 callers
Function
resetIfNewMonth
(ledger, roomId)
plugins/ruflo-business-pods/scripts/pod-tick.mjs:203
↓ 4 callers
Method
resetPeriod
* Reset all counters for a new billing/tracking period.
v3/@claude-flow/guidance/src/coherence.ts:450
↓ 4 callers
Function
resolveApiKey
* Resolve the API key for a provider by checking the config file first, * then falling back to well-known environment variables.
v3/@claude-flow/cli/src/commands/providers.ts:38
↓ 4 callers
Method
resolveConflict
( category: string, identifier: string, item: T, pluginName: string, owners: Map<string, s
v3/@claude-flow/plugins/src/registry/enhanced-plugin-registry.ts:709
↓ 4 callers
Function
resolveModel
(namespace: string, model?: string)
ruflo/src/ruvocal/src/lib/server/api/utils/resolveModel.ts:7
↓ 4 callers
Function
retrieveCausalHints
( question: GaiaQuestion, options?: CausalMemoryOptions, )
v3/@claude-flow/cli/src/benchmarks/gaia-causal-memory.ts:376
↓ 4 callers
Method
retrieveMemories
(queryEmbedding: Float32Array, k?: number)
v3/@claude-flow/swarm/src/queen-coordinator.ts:426
↓ 4 callers
Method
rndForward
(state: Float32Array, weights: Float32Array)
v3/@claude-flow/neural/src/algorithms/curiosity.ts:342
↓ 4 callers
Method
rndForward
(state, weights)
v3/@claude-flow/neural/src/algorithms/curiosity.js:262
↓ 4 callers
Method
rollbackTo
(version: number)
v3/@claude-flow/plugins/__tests__/ruvector-migrations.test.ts:294
↓ 4 callers
Method
rotateVectors
* Rotates vectors using the learned rotation matrix.
v3/@claude-flow/plugins/src/integrations/ruvector/quantization.ts:1128
↓ 4 callers
Function
round2
(x: number)
v3/@claude-flow/cli/src/commands/neural.ts:2793
↓ 4 callers
Method
rowToEvent
(row: any)
v3/@claude-flow/shared/src/events/event-store.ts:576
↓ 4 callers
Function
run
(cmd, args, opts = {})
scripts/smoke-cli-npx-install.mjs:34
↓ 4 callers
Method
runAll
* Sweep → dedup → compact. Used by the background timer and by the * `nightlyLearner` AgentDB controller.
v3/@claude-flow/memory/src/consolidator.ts:258
↓ 4 callers
Function
runHarness
(args, opts = {})
v3/@claude-flow/cli/plugins/ruflo-metaharness/scripts/test-with-openrouter.mjs:108
↓ 4 callers
Function
runHarness
(args, opts = {})
plugins/ruflo-metaharness/scripts/test-with-openrouter.mjs:108
↓ 4 callers
Function
runMetaharness
(args, opts)
v3/@claude-flow/cli/plugins/ruflo-metaharness/scripts/_harness.mjs:128
↓ 4 callers
Method
runMigration
( migration: Migration, direction: 'up' | 'down' )
v3/@claude-flow/plugins/__tests__/ruvector-migrations.test.ts:305
↓ 4 callers
Function
runScript
(name, scriptFile, scriptArgs, jsonViaEnv)
plugins/ruflo-cost-tracker/scripts/health.mjs:59
↓ 4 callers
Function
runScriptJsonAsync
* iter 58 — async variant. Drift-from-history's audit-list (memory query) * and oia-audit (fresh subprocess chain) are mutually independent and * ca
v3/@claude-flow/cli/plugins/ruflo-metaharness/scripts/drift-from-history.mjs:130
↓ 4 callers
Function
runScriptJsonAsync
* iter 58 — async variant. Drift-from-history's audit-list (memory query) * and oia-audit (fresh subprocess chain) are mutually independent and * ca
plugins/ruflo-metaharness/scripts/drift-from-history.mjs:130
↓ 4 callers
Function
safeAcosh
* Safe arccosh implementation.
v3/@claude-flow/plugins/src/integrations/ruvector/hyperbolic.ts:111
↓ 4 callers
Function
safeAtanh
* Safe arctanh implementation with clamping.
v3/@claude-flow/plugins/src/integrations/ruvector/hyperbolic.ts:103
↓ 4 callers
Function
safeJsonStringify
( value: unknown, options?: { space?: number; maxDepth?: number; replacer?: (key: string, valu
v3/@claude-flow/plugins/src/security/index.ts:236
↓ 4 callers
Function
sampleBeta
(alpha: number, beta: number)
v3/@claude-flow/cli/src/ruvector/model-router.ts:427
↓ 4 callers
Function
sanitizeError
* Sanitize an error object
v3/@claude-flow/shared/src/utils/secure-logger.js:57
↓ 4 callers
Function
sanitizeErrorMessage
(error: unknown)
v3/@claude-flow/hooks/src/workers/mcp-tools.ts:39
↓ 4 callers
Function
sanitizeHtml
(input: string)
v3/@claude-flow/security/src/input-validator.ts:361
↓ 4 callers
Function
sanitizeObject
* Sanitize a plain object
v3/@claude-flow/shared/src/utils/secure-logger.js:87
↓ 4 callers
Function
sanitizeObject
* Sanitize a plain object
v3/@claude-flow/shared/src/utils/secure-logger.ts:120
↓ 4 callers
Function
sanitizePath
(input: string)
v3/@claude-flow/security/src/input-validator.ts:373
↓ 4 callers
Function
sanitizeString
(input: string)
v3/@claude-flow/security/src/input-validator.ts:349
↓ 4 callers
Method
save
(state: FileShape)
v3/@claude-flow/cli-core/src/memory/json-backend.ts:83
↓ 4 callers
Method
save
(record: RunRecord)
plugins/ruflo-arena/src/persistence/run-store.ts:15
↓ 4 callers
Method
saveCheckpoint
* Save a checkpoint of the current execution state * * @returns Created checkpoint
v3/@claude-flow/integration/src/long-running-worker.ts:405
↓ 4 callers
Method
saveState
* Save state to disk
v3/@claude-flow/cli/src/ruvector/model-router.ts:1311
↓ 4 callers
Method
saveState
* Save current state to disk
v3/@claude-flow/hooks/src/workers/index.ts:514
↓ 4 callers
Method
saveToDisk
* Save patterns to disk
v3/@claude-flow/cli/src/memory/sona-optimizer.ts:876
↓ 4 callers
Method
saveToDisk
* Save patterns to disk (debounced)
v3/@claude-flow/cli/src/memory/intelligence.ts:513
↓ 4 callers
Method
scaffold
(task: string, difficulty: number)
v3/plugins/cognitive-kernel/src/types.ts:476
↓ 4 callers
Method
score
Return a score in [0,1]. Higher = closer to known successful trajectories.
v3/@claude-flow/browser/src/domain/mcts-branch.ts:100
↓ 4 callers
Method
scoreAgents
* Score agents for task assignment
v3/@claude-flow/swarm/src/queen-coordinator.ts:1167
↓ 4 callers
Method
search
(params: { namespace: string; query: string | number[]; k?: number; minSimilarity?: number;
v3/@claude-flow/aidefence/src/domain/services/threat-learning-service.ts:84
↓ 4 callers
Method
search
(query: Float32Array, k: number, ef = 50)
v3/@claude-flow/memory/benchmarks/vector-search.bench.ts:134
↓ 4 callers
Method
search
(query: string, options?: { namespace?: string; limit?: number })
v3/@claude-flow/plugin-iot-cognitum/src/infrastructure/agentdb-telemetry-repository.ts:13
↓ 4 callers
Method
searchByVector
(options: VectorSearchOptions)
v3/@claude-flow/memory/src/domain/repositories/memory-repository.interface.ts:98
↓ 4 callers
Method
searchLayerOptimized
* OPTIMIZED searchLayer using heap-based priority queues * Performance: O(log n) per operation vs O(n log n) for Array.sort() * Expected speedup
v3/@claude-flow/memory/src/hnsw-index.ts:890
↓ 4 callers
Method
sendMessage
(message: Omit<SwarmMessage<T>, 'id' | 'timestamp'>)
v3/@claude-flow/swarm/src/coordination/swarm-hub.ts:89
← previous
next →
2,701–2,800 of 18,477, ranked by callers