Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neomjs/neo
/ functions
Functions
8,612 in github.com/neomjs/neo
⨍
Functions
8,612
◇
Types & classes
2,567
↓ 45 callers
Method
log
* @param args
src/util/Logger.mjs:142
↓ 45 callers
Method
move
* Moves an item inside arr from fromIndex to toIndex * @param {Array} arr * @param {Number} fromIndex * @param {Number} toIndex
src/util/Array.mjs:108
↓ 45 callers
Function
parseArgs
* Parses simple `--base <branch>` / `--base=<branch>` CLI args. Default base is * `origin/dev` to match `lint-skill-manifest.mjs` and CI workflow con
ai/scripts/lint/lint-agents.mjs:88
↓ 44 callers
Method
addMemory
* Adds a new memory to the collection — the protocol-mandated per-turn save, engineered to * never fail or stall **on the embed**, once the `memo
ai/services/memory-core/MemoryService.mjs:324
↓ 44 callers
Method
remove
* @param {String} slug
apps/realworld/api/Favorite.mjs:34
↓ 43 callers
Method
getAdjacentNodes
* Extracts adjacent nodes based on semantic relationship topologies for GraphRAG evaluation smoothly dynamically loading Cache Misses synchronously!
ai/graph/Database.mjs:281
↓ 43 callers
Method
toggleCls
* Toggle a cls inside the vdomRoot of the component * @param {String} value * @param {Boolean} [add] Use this param to enforce an add() or r
src/component/Base.mjs:1674
↓ 42 callers
Function
createTestOrchestrator
* Test helper for the Orchestrator refactor shape: * - Operator policy values (intervals + booleans) are now Class D lazy getters reading * from A
test/playwright/unit/ai/daemons/orchestrator/Orchestrator.spec.mjs:33
↓ 42 callers
Method
getKey
* Resolves the key of a given item, supporting both raw data objects and Record instances. * This handles the edge case where `keyProperty` refer
src/data/Store.mjs:550
↓ 42 callers
Method
subscribe
* Subscribes a callback function to changes in this config's value. * The callback will be invoked with `(newValue, oldValue)` whenever the confi
src/core/Config.mjs:191
↓ 41 callers
Function
createIdentityClient
({ baseUrl, identity = null, bearerToken = null, clientName = 'neo-integration-spec' })
test/playwright/integration/fixtures/mcpClient.mjs:28
↓ 40 callers
Method
getData
* Access the closest data property inside the parent chain. * @param {String} key * @returns {*} value
src/state/Provider.mjs:346
↓ 40 callers
Function
getDueTask
()
test/playwright/unit/ai/daemons/orchestrator/scheduling/pipeline.spec.mjs:100
↓ 40 callers
Method
getItemId
* @param {Number|String|object} recordOrId * @returns {String}
src/list/Base.mjs:707
↓ 40 callers
Method
runTask
* Runs the tenant-repo-sync task under orchestrator state + health envelopes. * * Error code taxonomy (see `./TenantRepoSyncErrors.mjs`). Op
ai/daemons/orchestrator/services/TenantRepoSyncService.mjs:211
↓ 40 callers
Method
up
* Convenience shortcut for Neo.manager.Component.up * @param {Object|String} config * @returns {Neo.component.Base|null} The matching instan
src/component/Base.mjs:1700
↓ 39 callers
Method
add
* Inserts an item or array of items at the last index * @param {Object|Array} item * @param {Boolean} [silent=false] * @param {Boolean}
src/container/Base.mjs:143
↓ 39 callers
Method
listMessages
* Lists messages in the mailbox. * @param {Object} args * @param {String} [args.box='inbox'] Which box to list ('inbox', 'outbox', 'all')
ai/services/memory-core/MailboxService.mjs:599
↓ 39 callers
Function
normalizeUserId
* @param {String|null|undefined} input * @returns {String|undefined}
ai/scripts/migrations/backfillChromaSharedUserId.mjs:132
↓ 39 callers
Method
recordTaskOutcome
* Records task status into HealthService without letting observability failures break the loop. * @param {String} taskName Task key. * @para
ai/daemons/orchestrator/services/ProcessSupervisorService.mjs:175
↓ 39 callers
Method
setState
* Convenience shortcut * @param args
src/component/Abstract.mjs:526
↓ 38 callers
Method
fire
* @param name
src/core/Observable.mjs:221
↓ 38 callers
Method
log
* @summary Persists a KB MCP tool invocation into `kb_query_log`. * * Logging is a best-effort observability side channel. It never throws b
ai/services/knowledge-base/KBRecorderService.mjs:214
↓ 38 callers
Function
makeSafe
* Wraps a service object to enforce Zod validation on its methods based on OpenAPI specs. * @param {Object} service - The raw service object. * @par
ai/services.mjs:110
↓ 37 callers
Method
createViewData
* The main rendering loop for the Grid Body. * * This method: * 1. Calculates the range of records to render based on scroll position.
src/grid/Body.mjs:746
↓ 37 callers
Method
getAgentIdentityNodeId
* Convenience accessor for the bound AgentIdentity graph-node ID. * Services building `AUTHORED_BY` / `OWNED_BY` edges at write time use this to
ai/mcp/server/shared/services/RequestContextService.mjs:278
↓ 37 callers
Method
getConversation
* Fetches the conversation (title, body, author, comments) for an issue. * * Issue-side twin of `PullRequestService.getConversation`. `get_c
ai/services/github-workflow/IssueService.mjs:86
↓ 37 callers
Method
getDomRect
* Convenience shortcut * @param {String[]|String} id=this.id * @param {String} windowId=this.windowId * @returns {Promise<Neo.util.Rect
src/component/Base.mjs:1281
↓ 37 callers
Method
writeJson
* Writes data to a JSON or JSONL file. * @param {String} path * @param {*} data * @returns {Promise<void>} * @private
apps/devindex/services/Storage.mjs:479
↓ 36 callers
Function
row
(id, v, metadata = {})
test/playwright/unit/ai/services/knowledge-base/kbReconciliationEngine.spec.mjs:30
↓ 35 callers
Function
contentPath
(config = {})
ai/services/github-workflow/shared/contentPath.mjs:102
↓ 35 callers
Method
loadGraph
* @summary Loads the concept graph from JSONL files into memory. * Parses `nodes.jsonl` and `edges.jsonl`, validates structural integrity, *
ai/services/ConceptService.mjs:159
↓ 35 callers
Method
pulse
* @summary Executes one alerting pulse: rollup → rule evaluation → channel dispatch. * * Reads the per-tenant ingestion rollup over the conf
ai/daemons/kb-alerting/KbAlertingService.mjs:173
↓ 35 callers
Method
splice
* Central topological funnel parsing addition mapped data vs removal tracked data for O(1) bindings. * @param {Number|null} index * @param {
ai/graph/Store.mjs:159
↓ 34 callers
Method
add
* Adds an event to the scheduler. * @param {Object} event * @param {String} event.type - Event type (e.g., 'system:error', 'user:input')
ai/agent/Scheduler.mjs:43
↓ 34 callers
Method
alignTo
* Aligns the top level node inside the main thread * @param {Object} spec={} * @returns {Promise<void>}
src/component/Base.mjs:893
↓ 34 callers
Method
clone
* @returns {Neo.collection.Base} The cloned collection
src/collection/Base.mjs:624
↓ 34 callers
Method
get
* Overrides Store:get() to ensure records can be retrieved even if they are hidden * (not in the active flattened view). * @param {Number|St
src/data/TreeStore.mjs:610
↓ 33 callers
Method
sendMessageToApp
* Sends the parsed event data to the app worker * @param {Object} data * @protected
src/main/DomEvents.mjs:886
↓ 32 callers
Method
changeVdomRootKey
* Changes the value of a vdom object attribute or removes it in case it has no value * @param {String} key * @param {Array|Number|Object|Str
src/component/Base.mjs:1112
↓ 32 callers
Method
getNode
* Retrieves a specific node by its ID. * @param {Object} data * @param {String} data.id * @returns {Object|null}
ai/services/memory-core/GraphService.mjs:611
↓ 31 callers
Function
finishPhase
(phase, startedAt, status, details = {})
ai/daemons/orchestrator/services/DreamService.mjs:64
↓ 31 callers
Method
get
* Gets the current value of the config property. * @returns {any} The current value.
src/core/Config.mjs:81
↓ 31 callers
Method
getController
* Important for mapping listeners to view controllers * @returns {Neo.controller.Component|null}
src/selection/Model.mjs:164
↓ 31 callers
Method
getUserId
* Convenience accessor for the authenticated user's identifier. Returns `undefined` when * no request context is active (stdio transport without
ai/mcp/server/shared/services/RequestContextService.mjs:256
↓ 31 callers
Method
getVdomChild
* Search a vdom child node by id for a given vdom tree * @param {String} id * @param {Object} vdom=this.vdom * @returns {Object}
src/mixin/VdomLifecycle.mjs:471
↓ 31 callers
Function
provisionMirrorDir
* Creates a fake mirror directory at the canonical derived path so * `buildIngestEnvelope`'s `fs.pathExists` precheck passes. Tests that exercise
test/playwright/unit/ai/daemons/orchestrator/services/TenantRepoSyncService.spec.mjs:99
↓ 31 callers
Method
un
* Alias for removeListener * @param {Object|String} name * @param {String} [eventId]
src/core/Observable.mjs:355
↓ 31 callers
Method
unshift
* Adds an item or Array of items to an array in case it does not already exist. * Only primitive items will get found as duplicates * @param
src/util/Array.mjs:180
↓ 30 callers
Method
addEdge
* Injects a relationship edge into the Native Edge Graph Database topology. * @param {Object} edge * @throws {SqliteError} When SQLite stora
ai/graph/Database.mjs:186
↓ 30 callers
Method
getMemoryCollection
* @returns {Promise<CollectionProxy>} A proxy respecting aiConfig.engine
ai/services/memory-core/managers/StorageRouter.mjs:36
↓ 30 callers
Method
isRecord
* Returns true if the passed value is a neo data record * @param {Object} value The value to test * @returns {Boolean}
src/core/Util.mjs:182
↓ 30 callers
Method
queryDocuments
* Performs a semantic search on the knowledge base using a natural language query. * Returns a scored and ranked list of the most relevant source
ai/services/knowledge-base/QueryService.mjs:125
↓ 29 callers
Method
getCount
* Returns the config value of this.count * @returns {Number} * @deprecated Use `this.count` directly instead.
src/collection/Base.mjs:1110
↓ 29 callers
Function
getRecordField
(record, field)
ai/services/memory-core/MailboxService.mjs:111
↓ 29 callers
Function
mirrorOptions
(source)
test/playwright/unit/ai/services/knowledge-base/gitMirror.spec.mjs:74
↓ 29 callers
Method
toggle
* Removes an item from an array in case it does exist, otherwise adds it * @param {Array} arr * @param {*} item * @param {Boolean} [add
src/util/Array.mjs:160
↓ 28 callers
Method
insert
* Overrides collection.Base: insert() to convert items into records if needed. * * **Eager Mode (`init=true` - Default):** * Immediatel
src/data/Store.mjs:857
↓ 28 callers
Method
load
* @returns {Promise<void>}
src/remotes/Api.mjs:116
↓ 28 callers
Function
makeTestServerClass
(overrides = {})
test/playwright/unit/ai/mcp/server/BaseServer.spec.mjs:48
↓ 27 callers
Method
addNode
* Injects an entity node into the Native Edge Graph Database topology. * @param {Object} node
ai/graph/Database.mjs:195
↓ 27 callers
Method
push
* @param {Object} data * @param {String} data.appName * @param {Object} data.hash * @param {String} data.hashString * @param {Numb
src/util/HashHistory.mjs:91
↓ 27 callers
Method
remove
* Removes a container item by reference * @param {Neo.component.Base} component * @param {Boolean} [destroyItem=true] * @param {Boolean
src/container/Base.mjs:838
↓ 26 callers
Function
applyDefaultStubs
* Apply a default no-op stub set so every test starts from a deterministic baseline. * Individual tests override the seams they care about.
test/playwright/unit/ai/daemons/orchestrator/services/SwarmHeartbeatService.spec.mjs:131
↓ 26 callers
Method
contains
* Returns `true` if this Rectangle completely contains the other Rectangle * @param {Rectangle} other
src/util/Rectangle.mjs:320
↓ 26 callers
Method
getRange
* Returns a shallow copy of a portion of the items array * @param {Number} [start] Zero-based index at which to begin extraction. * @param {
src/collection/Base.mjs:1175
↓ 26 callers
Function
getReadiness
(readyUrl = DEFAULT_READY_URL)
test/playwright/integration/fixtures/mcpClient.mjs:13
↓ 26 callers
Function
node
(id, properties = {})
test/playwright/unit/ai/services/memory-core/GraphService.TenantIsolation.spec.mjs:38
↓ 26 callers
Function
writeLog
(level, message)
ai/daemons/orchestrator/daemon.mjs:52
↓ 25 callers
Method
changeInputElKey
* Changes the value of a inputEl vdom object attribute or removes it in case it has no value * @param {String} key * @param {Array|Number|Ob
src/form/field/Base.mjs:201
↓ 25 callers
Function
createInMemoryTaskStateService
()
test/playwright/unit/ai/daemons/orchestrator/services/TenantRepoSyncService.spec.mjs:40
↓ 25 callers
Method
getSummaryCollection
* @returns {Promise<CollectionProxy>} A proxy respecting aiConfig.engine
ai/services/memory-core/managers/StorageRouter.mjs:45
↓ 25 callers
Function
next
(c)
buildScripts/docs/jsdoc-x/sorter.mjs:77
↓ 25 callers
Function
seedBackup
* Synthetic backup-* directory creator. Encodes the simulated age in the directory * timestamp so `cleanOldBackups`'s production regex parser rec
test/playwright/unit/ai/scripts/maintenance/backup-retention.spec.mjs:73
↓ 25 callers
Method
writeLog
* Helper to call the injected log function. * @param {String} level * @param {String} message * @returns {void}
ai/daemons/orchestrator/services/TaskStateService.mjs:292
↓ 24 callers
Method
first
* Returns the first item inside the collection * @returns {Object}
src/collection/Base.mjs:1074
↓ 24 callers
Method
getDataField
* Resolves the dataField for a logical cell id (`recordId__dataField`). Body-agnostic — delegates * to the center body. * @param {String} ce
src/grid/View.mjs:114
↓ 24 callers
Function
readPendingWalRecords
({dir, ids, limit} = {})
ai/services/memory-core/helpers/memoryWalStore.mjs:217
↓ 24 callers
Method
stat
* Retrieves file statistics. * @param {String} path The file or directory path. * @returns {Promise<Object>} The file statistics object.
apps/legit/service/Legit.mjs:305
↓ 24 callers
Function
toErrorMessage
(error)
ai/daemons/orchestrator/services/DreamService.mjs:47
↓ 23 callers
Method
enqueue
* Enqueue an event for coalesced delivery to a subscription. Starts (or extends) * the per-subscription timer; on fire, the engine builds a diges
ai/services/memory-core/CoalescingEngineService.mjs:120
↓ 23 callers
Function
makeFakeIngestionService
({captureCalls = []} = {})
test/playwright/unit/ai/daemons/orchestrator/services/TenantRepoSyncService.spec.mjs:76
↓ 23 callers
Method
setRoute
* @param {String} hash
apps/realworld2/view/HeaderToolbarController.mjs:43
↓ 23 callers
Method
writeFile
({absolutePath, content})
ai/mcp/server/file-system/services/FileSystemService.mjs:36
↓ 23 callers
Function
writeLog
* Persistent + console log writer. Writes a single line to BOTH stdout (live * terminal observability) AND the persistent `wake-daemon.log` file (pos
ai/daemons/wake/daemon.mjs:189
↓ 22 callers
Method
convertToyyyymmdd
* Returns the yyyy-mm-dd formatted value of a given Date instance * @param {Date} date * @returns {String} the yyyy-mm-dd formatted date
src/util/Date.mjs:51
↓ 22 callers
Function
createTestService
()
test/playwright/unit/ai/daemons/orchestrator/services/ProcessSupervisorService.spec.mjs:8
↓ 22 callers
Method
createVdomReference
* Creates a lightweight, serializable placeholder for this component, intended for injection * into the VDOM of other components. * * T
src/mixin/VdomLifecycle.mjs:159
↓ 22 callers
Method
getByIndex
* Extracts exact matching items synchronously from the GraphStore topography in O(1) mapping operations. * Assumes `property` exists dynamically
ai/graph/Store.mjs:113
↓ 22 callers
Method
healthcheck
* Checks the health of the Neural Link server. * @returns {Promise<Object>} The health status payload.
ai/services/neural-link/HealthService.mjs:34
↓ 22 callers
Function
makeCandidate
(taskName, descriptorOverrides = {})
test/playwright/unit/ai/daemons/orchestrator/scheduling/picker.spec.mjs:4
↓ 22 callers
Function
makeFakeEnvelopeBuilder
({captureCalls = []} = {})
test/playwright/unit/ai/daemons/orchestrator/services/TenantRepoSyncService.spec.mjs:62
↓ 22 callers
Method
query
* Analogous to the `HTMLElement` `querySelector` method. Searches the passed element * and all descendants for the first element for which the pa
src/main/DomUtils.mjs:76
↓ 22 callers
Function
resolveTargets
({ selfIdentity, targetSource = null, explicitTargets = null, a
ai/daemons/orchestrator/scheduling/swarmHeartbeat.mjs:91
↓ 22 callers
Method
set
(value)
src/data/RecordFactory.mjs:117
↓ 22 callers
Method
setConfigs
* Set configs of any app realm based Neo instance from main * * @warning This provides legacy testing support for environments where Neural
src/worker/App.mjs:863
↓ 22 callers
Method
setData
* Pass new graph data to the worker * @param {Object} data {nodes, links}
apps/agentos/view/Blackboard.mjs:72
↓ 21 callers
Method
delete
* @param {Object} [opts={}] * @param {Object} [opts.data] * @param {Object} [opts.params] * @param {String} [opts.resource] * @par
apps/realworld/api/Base.mjs:131
↓ 21 callers
Method
isFunction
* Returns true if the passed value is a function * @param {Function} value The value to test * @returns {Boolean}
src/core/Util.mjs:144
↓ 21 callers
Method
manageDatabaseBackup
* Manages database backups and truncations. * @param {Object} options * @param {String} options.action The action to perform: 'import', 'e
ai/services/memory-core/DatabaseService.mjs:661
← previous
next →
101–200 of 8,612, ranked by callers