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
↓ 5 callers
Function
syncAgentInfo
(entry: { agent: any; info: WasmAgentInfo })
v3/@claude-flow/cli/src/ruvector/agent-wasm.ts:258
↓ 5 callers
Function
toPositiveInt
* Coerce a user-supplied PR / issue / run number to a positive integer. * Returns null if the input can't be safely passed as an argv element to * g
v3/@claude-flow/cli/src/mcp-tools/github-tools.ts:119
↓ 5 callers
Function
tool
(name: string)
v3/@claude-flow/cli/__tests__/agent-logs-hive-resolution.test.ts:19
↓ 5 callers
Function
tool
(name: string)
plugins/ruflo-arena/tests/mcp-tools.test.ts:9
↓ 5 callers
Function
trackEvent
* Track plugin download/share event
v3/@claude-flow/cli/cloud-functions/publish-registry/index.js:122
↓ 5 callers
Method
trackLatency
(latencyMs: number)
v3/@claude-flow/neural/src/sona-manager.ts:758
↓ 5 callers
Method
transitionTo
* Transition to new state
v3/@claude-flow/shared/src/resilience/circuit-breaker.ts:271
↓ 5 callers
Function
tryExtract
Safely extract a section, returning null if absent.
v3/@claude-flow/cli/src/appliance/rvfa-runner.ts:70
↓ 5 callers
Method
tryNext
()
ruflo/src/ruvocal/src/lib/server/database/rvf.ts:999
↓ 5 callers
Method
type
Type with key events.
v3/@claude-flow/browser/src/domain/browser-adapter.ts:49
↓ 5 callers
Method
updateAgentStatusIndex
* Update agent status in index - O(1)
v3/@claude-flow/swarm/src/federation-hub.js:111
↓ 5 callers
Method
updateAgentStatusIndex
* Update agent status in index - O(1)
v3/@claude-flow/swarm/src/federation-hub.ts:278
↓ 5 callers
Method
updateTrustLevel
(level: TrustLevel)
v3/@claude-flow/plugin-agent-federation/src/domain/entities/federation-node.ts:130
↓ 5 callers
Function
updateUser
(params: { userData: UserinfoResponse; token: TokenSet; locals: App.Locals; cookies: Cookies; userAgent?:
ruflo/src/ruvocal/src/routes/login/callback/updateUser.ts:19
↓ 5 callers
Method
updateWorkStatus
* Update work item status
v3/plugins/gastown-bridge/src/gupp/adapter.ts:336
↓ 5 callers
Function
validateAgentSpawn
(input: Record<string, unknown>)
v3/@claude-flow/cli-core/src/mcp-tools/validate-input.ts:227
↓ 5 callers
Function
validateCFP
(cfp: CFPFormat)
v3/@claude-flow/cli/src/transfer/serialization/cfp.ts:162
↓ 5 callers
Method
validateInput
(input: string, options?: InputValidationOptions)
v3/@claude-flow/testing/src/helpers/mock-factory.ts:206
↓ 5 callers
Function
validateMemoryInput
(key?: string, value?: string, query?: string, namespace?: string)
v3/@claude-flow/cli/src/mcp-tools/memory-tools.ts:71
↓ 5 callers
Method
validateMigrations
()
v3/@claude-flow/plugins/__tests__/ruvector-migrations.test.ts:363
↓ 5 callers
Method
version
* Get the crate version. * @returns {string}
ruflo/src/ruvocal/static/wasm/rvagent_wasm.js:300
↓ 5 callers
Method
waitForTask
* Wait for task completion
v3/@claude-flow/mcp/src/task-manager.ts:252
↓ 5 callers
Method
withAgentTypes
(types: AgentTypeDefinition[])
v3/@claude-flow/plugins/src/sdk/index.ts:127
↓ 5 callers
Method
withDependencies
(dependencies: string[])
v3/@claude-flow/plugins/src/sdk/index.ts:108
↓ 5 callers
Method
withMetric
(metric: DistanceMetric)
v3/@claude-flow/plugins/__tests__/utils/ruvector-test-utils.ts:722
↓ 5 callers
Function
withVerifier
( peers: FederationNode[], verify: (canon: string, sig: string | null, pk: string) => boolean, )
v3/@claude-flow/plugin-agent-federation/__tests__/unit/inbound-dispatcher.test.ts:173
↓ 5 callers
Method
wouldBlock
* Check if a command would be blocked
v3/@claude-flow/shared/src/hooks/safety/bash-safety.ts:589
↓ 5 callers
Method
writeAtomic
Atomic write: write to .tmp then rename
v3/@claude-flow/cli/src/services/config-file-manager.ts:183
↓ 5 callers
Method
writeMemory
( key: string, namespace: string, value: unknown, evidence?: Record<string, unknown>, )
v3/@claude-flow/guidance/src/conformance-kit.ts:100
↓ 4 callers
Function
REL
(label)
plugins/ruflo-adr/scripts/import.mjs:181
↓ 4 callers
Method
adapt_array
(gradient: Float32Array)
v3/@claude-flow/cli/src/services/ruvector-training.ts:143
↓ 4 callers
Method
addError
( entryId: string, message: string, code: string, recoverable: boolean )
v3/@claude-flow/memory/src/migration.ts:465
↓ 4 callers
Method
addInvariant
* Add a constitutional invariant
v3/@claude-flow/guidance/src/meta-governance.ts:315
↓ 4 callers
Method
addSimilarityEdges
Add similarity edges by searching backend. Returns count of edges added.
v3/@claude-flow/memory/src/memory-graph.ts:170
↓ 4 callers
Function
agentTypes
()
v3/@claude-flow/cli/src/init/claudemd-generator.ts:152
↓ 4 callers
Function
agentdbRecord
(record: RunRecord)
plugins/ruflo-arena/src/persistence/run-store.ts:109
↓ 4 callers
Method
aggregateDecision
* Get the most restrictive decision from multiple gate results
v3/@claude-flow/guidance/src/gates.ts:294
↓ 4 callers
Method
allConfirmed
* Check if all of the specified beliefs are confirmed. * * @param beliefIds - IDs of beliefs to check * @returns true only if every belief ex
v3/@claude-flow/guidance/src/uncertainty.ts:791
↓ 4 callers
Method
applyLoRA
(input: Float32Array)
v3/plugins/test-intelligence/src/bridges/sona-bridge.ts:439
↓ 4 callers
Method
applyRoPE
(vec: number[], pos: number, base: number)
v3/@claude-flow/plugins/src/integrations/ruvector/attention-mechanisms.ts:593
↓ 4 callers
Method
areOptimizersEnabled
* Check if optimizers are enabled
v3/plugins/teammate-plugin/src/teammate-bridge.ts:530
↓ 4 callers
Function
asNumber
(v: unknown)
v3/@claude-flow/cli/src/appliance/gguf-engine.ts:211
↓ 4 callers
Function
asNumber
(v: string | boolean | undefined, fallback?: number)
v3/@claude-flow/cli-core/src/commands/memory.ts:50
↓ 4 callers
Function
assessFileRisk
(file: DiffFile)
v3/@claude-flow/cli/src/ruvector/diff-classifier.ts:545
↓ 4 callers
Function
assessOverallRisk
(files: DiffFile[], fileRisks: FileRisk[])
v3/@claude-flow/cli/src/ruvector/diff-classifier.ts:605
↓ 4 callers
Function
atomicFallback
(questionText: string)
v3/@claude-flow/cli/src/benchmarks/gaia-decomposer.ts:303
↓ 4 callers
Method
attest
* Add an attestation to a capability.
v3/@claude-flow/guidance/src/capabilities.ts:316
↓ 4 callers
Method
autoMigrate
Auto-detect source format and migrate to RVF.
v3/@claude-flow/memory/src/rvf-migration.ts:242
↓ 4 callers
Method
bd
* Execute bd command with JSONL output
v3/plugins/gastown-bridge/tests/bridges.test.ts:131
↓ 4 callers
Function
bench
(name, fn, iters = ITERS)
v3/@claude-flow/guidance/scripts/bench-phase-1.mjs:45
↓ 4 callers
Function
bench
(label, fn, iters)
v3/@claude-flow/cli/plugins/ruflo-metaharness/scripts/bench-recordpair-overhead.mjs:46
↓ 4 callers
Function
bench
(label, fn, iters)
plugins/ruflo-metaharness/scripts/bench-recordpair-overhead.mjs:46
↓ 4 callers
Function
bm25Score
* BM25 scoring for keyword-based search. * Replaces naive String.includes() with proper information retrieval scoring. * Parameters tuned for short
v3/@claude-flow/cli/src/memory/memory-bridge.ts:346
↓ 4 callers
Method
bruteForceSearch
* Brute-force vector search fallback
v3/@claude-flow/memory/src/agentdb-backend.ts:834
↓ 4 callers
Method
build
* Assemble the final RVFA binary image. * * Layout: * [4B magic] [4B version] [4B header_len] * [header JSON bytes] * [section 0
v3/@claude-flow/cli/src/appliance/rvfa-format.ts:242
↓ 4 callers
Method
buildDependencyLevels
* Build dependency levels for parallel execution
v3/@claude-flow/codex/src/dual-mode/orchestrator.ts:293
↓ 4 callers
Function
buildMessageTree
* Build a simple message tree: * * root (system) * -> msg1 (user) * -> msg2 (assistant) * -> msg3 (user) * -> unrelated
ruflo/src/ruvocal/src/lib/server/api/__tests__/conversations-message.spec.ts:29
↓ 4 callers
Function
buildReplayDelta
( envelope: SignedTrajectoryEnvelope, newTrajectory: BrowserTrajectory, )
v3/@claude-flow/browser/src/application/signed-trajectory-service.ts:163
↓ 4 callers
Method
bulkWrite
( ops: Array<Record<string, unknown>>, _options?: Record<string, unknown> )
ruflo/src/ruvocal/src/lib/server/database/rvf.ts:800
↓ 4 callers
Function
cachePath
(s)
v3/@claude-flow/cli/scripts/run-beir-lucene-bm25.mjs:40
↓ 4 callers
Function
calcRequired
(strat: string, total: number, preset?: string)
v3/@claude-flow/cli/src/mcp-tools/coordination-tools.ts:486
↓ 4 callers
Function
calculateBackoffDelay
( attempt: number, config: RetryConfig )
v3/plugins/teammate-plugin/src/utils/retry.ts:71
↓ 4 callers
Method
calculateImportance
* Calculate importance score for a pattern based on usage
v3/@claude-flow/cli/src/memory/ewc-consolidation.ts:620
↓ 4 callers
Function
calculatePercentile
* Calculate percentile of an array of numbers
v3/@claude-flow/performance/src/framework/benchmark.ts:123
↓ 4 callers
Function
calculateProgress
()
v3/@claude-flow/cli/src/mcp-tools/progress-tools.ts:110
↓ 4 callers
Method
calculateProgress
* Calculate progress for a set of issues
v3/plugins/gastown-bridge/src/convoy/tracker.ts:649
↓ 4 callers
Method
calculateSimilarity
(a: string, b: string)
v3/@claude-flow/integration/src/sona-adapter.ts:753
↓ 4 callers
Function
callMcp
(method: string, params?: unknown)
ruflo/src/ruvocal/src/lib/stores/wasmMcp.ts:164
↓ 4 callers
Function
canTransition
( from: FederationNodeState, to: FederationNodeState, )
v3/@claude-flow/plugin-agent-federation/src/domain/value-objects/federation-node-state.ts:85
↓ 4 callers
Method
checkDrugInteractions
* Check drug interactions
v3/plugins/healthcare-clinical/src/bridges/gnn-bridge.ts:519
↓ 4 callers
Method
checkNewVector
* Check if a new vector is coherent with existing vectors.
v3/plugins/prime-radiant/__tests__/engines/cohomology.test.ts:94
↓ 4 callers
Method
checkOnce
Manually trigger the orphan check (used by tests).
v3/@claude-flow/cli/src/runtime/parent-death-watchdog.ts:37
↓ 4 callers
Method
checkToolCall
* Validate a single tool call against a scope. Pure; never throws. Use the * result's `allowed` to make the dispatch decision.
v3/@claude-flow/security/src/authorization/propagator.ts:192
↓ 4 callers
Function
chunkBySentence
* Sentence-aware chunking - keeps sentences intact
v3/@claude-flow/embeddings/src/chunking.ts:151
↓ 4 callers
Function
clampNorm
* Clamp vector norm to stay within Poincaré ball
v3/@claude-flow/embeddings/src/hyperbolic.ts:50
↓ 4 callers
Method
classify
* Classify an action by its reversibility. * * Checks patterns in order: irreversible → costly-reversible → reversible. * If no patterns matc
v3/@claude-flow/guidance/src/authority.ts:580
↓ 4 callers
Method
clear
()
v3/@claude-flow/testing/src/helpers/mock-factory.ts:176
↓ 4 callers
Method
closeSession
(sessionId: string, reason?: string)
v3/@claude-flow/mcp/src/session-manager.ts:183
↓ 4 callers
Function
compileTemplate
( input: string, model: { preprompt: string; templateEngine?: string } )
ruflo/src/ruvocal/src/lib/utils/template.ts:19
↓ 4 callers
Function
complexityBucket
(score: number)
v3/@claude-flow/cli/src/ruvector/model-router.ts:328
↓ 4 callers
Method
computeAllowedIPs
* Compute the AllowedIPs slice for a peer at its current trust level. * v1: each peer gets its own /32 mesh IP. Phase 4 will narrow this * furth
v3/@claude-flow/plugin-agent-federation/src/domain/services/wg-mesh-service.ts:233
↓ 4 callers
Function
computeFingerprint
Compute the fingerprint of a public key: first 16 hex chars of its SHA256.
v3/@claude-flow/cli/src/appliance/rvfa-signing.ts:52
↓ 4 callers
Method
computeNodeEmbeddings
* Compute node embeddings using GNN
v3/plugins/code-intelligence/src/types.ts:731
↓ 4 callers
Function
computeSimilarity
( a: Float32Array | number[], b: Float32Array | number[], metric: SimilarityMetric = 'cosine' )
v3/@claude-flow/embeddings/src/embedding-service.ts:1153
↓ 4 callers
Function
computeTreeEditDistance
( tree1: Array<{ id: string; parent: string | null }>, tree2: Array<{ id: string; parent: string | nul
v3/plugins/hyperbolic-reasoning/tests/bridges.test.ts:437
↓ 4 callers
Method
configure
* Configure the attention mechanism with options.
v3/@claude-flow/plugins/src/integrations/ruvector/attention.ts:79
↓ 4 callers
Method
conflictsAt
* Detect conflicting (contradictory) assertions active at the same time * in the same namespace. * * Returns all concurrently active assertio
v3/@claude-flow/guidance/src/temporal.ts:803
↓ 4 callers
Method
consolidate
()
v3/plugins/cognitive-kernel/src/types.ts:473
↓ 4 callers
Function
convertLegacyConversation
( conv: Pick<Conversation, "messages" | "rootMessageId" | "preprompt"> )
ruflo/src/ruvocal/src/lib/utils/tree/convertLegacyConversation.ts:5
↓ 4 callers
Method
coordinate
(agents: Agent[])
v3/plugins/neural-coordination/src/types.ts:469
↓ 4 callers
Function
cosineSimilarity
* Calculate cosine similarity between two vectors
v3/@claude-flow/memory/benchmarks/vector-search.bench.ts:47
↓ 4 callers
Function
cosineSimilarity
(a: number[], b: number[])
v3/@claude-flow/cli/src/mcp-tools/neural-tools.ts:286
↓ 4 callers
Function
cosineSimilarity
* Compute cosine similarity.
v3/@claude-flow/plugins/examples/ruvector/quantization.ts:280
↓ 4 callers
Method
cosineSimilarity
(a: Float32Array, b: Float32Array)
v3/@claude-flow/neural/src/reasoningbank-adapter.ts:533
↓ 4 callers
Function
countEdgesByRelation
(relation)
scripts/smoke-trajectory-graph-edges.mjs:56
↓ 4 callers
Function
countLines
(dir: string, ext: string)
v3/@claude-flow/hooks/src/workers/index.ts:1690
↓ 4 callers
Method
create
(config: HnswConfig)
v3/plugins/ruvector-upstream/src/bridges/hnsw.ts:15
↓ 4 callers
Function
createAIDefence
(config: AIDefenceConfig = {})
v3/@claude-flow/aidefence/src/index.ts:174
↓ 4 callers
Function
createAgentBridge
( backend: IMemoryBackend, config: AgentScopedConfig, )
v3/@claude-flow/memory/src/agent-memory-scope.ts:168
↓ 4 callers
Function
createByzantineConsensus
( nodeId: string, config?: ByzantineConfig )
v3/@claude-flow/swarm/src/consensus/byzantine.ts:509
← previous
next →
2,301–2,400 of 18,477, ranked by callers