MCPcopy Create free account

hub / github.com/neomjs/neo / functions

Functions8,612 in github.com/neomjs/neo

↓ 45 callersMethodlog
* @param args
src/util/Logger.mjs:142
↓ 45 callersMethodmove
* Moves an item inside arr from fromIndex to toIndex * @param {Array} arr * @param {Number} fromIndex * @param {Number} toIndex
src/util/Array.mjs:108
↓ 45 callersFunctionparseArgs
* 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 callersMethodaddMemory
* 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 callersMethodremove
* @param {String} slug
apps/realworld/api/Favorite.mjs:34
↓ 43 callersMethodgetAdjacentNodes
* Extracts adjacent nodes based on semantic relationship topologies for GraphRAG evaluation smoothly dynamically loading Cache Misses synchronously!
ai/graph/Database.mjs:281
↓ 43 callersMethodtoggleCls
* 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 callersFunctioncreateTestOrchestrator
* 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 callersMethodgetKey
* 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 callersMethodsubscribe
* 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 callersFunctioncreateIdentityClient
({ baseUrl, identity = null, bearerToken = null, clientName = 'neo-integration-spec' })
test/playwright/integration/fixtures/mcpClient.mjs:28
↓ 40 callersMethodgetData
* Access the closest data property inside the parent chain. * @param {String} key * @returns {*} value
src/state/Provider.mjs:346
↓ 40 callersFunctiongetDueTask
()
test/playwright/unit/ai/daemons/orchestrator/scheduling/pipeline.spec.mjs:100
↓ 40 callersMethodgetItemId
* @param {Number|String|object} recordOrId * @returns {String}
src/list/Base.mjs:707
↓ 40 callersMethodrunTask
* 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 callersMethodup
* 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 callersMethodadd
* 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 callersMethodlistMessages
* 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 callersFunctionnormalizeUserId
* @param {String|null|undefined} input * @returns {String|undefined}
ai/scripts/migrations/backfillChromaSharedUserId.mjs:132
↓ 39 callersMethodrecordTaskOutcome
* 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 callersMethodsetState
* Convenience shortcut * @param args
src/component/Abstract.mjs:526
↓ 38 callersMethodfire
* @param name
src/core/Observable.mjs:221
↓ 38 callersMethodlog
* @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 callersFunctionmakeSafe
* 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 callersMethodcreateViewData
* 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 callersMethodgetAgentIdentityNodeId
* 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 callersMethodgetConversation
* 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 callersMethodgetDomRect
* Convenience shortcut * @param {String[]|String} id=this.id * @param {String} windowId=this.windowId * @returns {Promise<Neo.util.Rect
src/component/Base.mjs:1281
↓ 37 callersMethodwriteJson
* Writes data to a JSON or JSONL file. * @param {String} path * @param {*} data * @returns {Promise<void>} * @private
apps/devindex/services/Storage.mjs:479
↓ 36 callersFunctionrow
(id, v, metadata = {})
test/playwright/unit/ai/services/knowledge-base/kbReconciliationEngine.spec.mjs:30
↓ 35 callersFunctioncontentPath
(config = {})
ai/services/github-workflow/shared/contentPath.mjs:102
↓ 35 callersMethodloadGraph
* @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 callersMethodpulse
* @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 callersMethodsplice
* 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 callersMethodadd
* 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 callersMethodalignTo
* Aligns the top level node inside the main thread * @param {Object} spec={} * @returns {Promise<void>}
src/component/Base.mjs:893
↓ 34 callersMethodclone
* @returns {Neo.collection.Base} The cloned collection
src/collection/Base.mjs:624
↓ 34 callersMethodget
* 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 callersMethodsendMessageToApp
* Sends the parsed event data to the app worker * @param {Object} data * @protected
src/main/DomEvents.mjs:886
↓ 32 callersMethodchangeVdomRootKey
* 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 callersMethodgetNode
* 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 callersFunctionfinishPhase
(phase, startedAt, status, details = {})
ai/daemons/orchestrator/services/DreamService.mjs:64
↓ 31 callersMethodget
* Gets the current value of the config property. * @returns {any} The current value.
src/core/Config.mjs:81
↓ 31 callersMethodgetController
* Important for mapping listeners to view controllers * @returns {Neo.controller.Component|null}
src/selection/Model.mjs:164
↓ 31 callersMethodgetUserId
* 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 callersMethodgetVdomChild
* 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 callersFunctionprovisionMirrorDir
* 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 callersMethodun
* Alias for removeListener * @param {Object|String} name * @param {String} [eventId]
src/core/Observable.mjs:355
↓ 31 callersMethodunshift
* 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 callersMethodaddEdge
* 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 callersMethodgetMemoryCollection
* @returns {Promise<CollectionProxy>} A proxy respecting aiConfig.engine
ai/services/memory-core/managers/StorageRouter.mjs:36
↓ 30 callersMethodisRecord
* 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 callersMethodqueryDocuments
* 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 callersMethodgetCount
* Returns the config value of this.count * @returns {Number} * @deprecated Use `this.count` directly instead.
src/collection/Base.mjs:1110
↓ 29 callersFunctiongetRecordField
(record, field)
ai/services/memory-core/MailboxService.mjs:111
↓ 29 callersFunctionmirrorOptions
(source)
test/playwright/unit/ai/services/knowledge-base/gitMirror.spec.mjs:74
↓ 29 callersMethodtoggle
* 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 callersMethodinsert
* Overrides collection.Base: insert() to convert items into records if needed. * * **Eager Mode (`init=true` - Default):** * Immediatel
src/data/Store.mjs:857
↓ 28 callersMethodload
* @returns {Promise<void>}
src/remotes/Api.mjs:116
↓ 28 callersFunctionmakeTestServerClass
(overrides = {})
test/playwright/unit/ai/mcp/server/BaseServer.spec.mjs:48
↓ 27 callersMethodaddNode
* Injects an entity node into the Native Edge Graph Database topology. * @param {Object} node
ai/graph/Database.mjs:195
↓ 27 callersMethodpush
* @param {Object} data * @param {String} data.appName * @param {Object} data.hash * @param {String} data.hashString * @param {Numb
src/util/HashHistory.mjs:91
↓ 27 callersMethodremove
* Removes a container item by reference * @param {Neo.component.Base} component * @param {Boolean} [destroyItem=true] * @param {Boolean
src/container/Base.mjs:838
↓ 26 callersFunctionapplyDefaultStubs
* 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 callersMethodcontains
* Returns `true` if this Rectangle completely contains the other Rectangle * @param {Rectangle} other
src/util/Rectangle.mjs:320
↓ 26 callersMethodgetRange
* 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 callersFunctiongetReadiness
(readyUrl = DEFAULT_READY_URL)
test/playwright/integration/fixtures/mcpClient.mjs:13
↓ 26 callersFunctionnode
(id, properties = {})
test/playwright/unit/ai/services/memory-core/GraphService.TenantIsolation.spec.mjs:38
↓ 26 callersFunctionwriteLog
(level, message)
ai/daemons/orchestrator/daemon.mjs:52
↓ 25 callersMethodchangeInputElKey
* 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 callersFunctioncreateInMemoryTaskStateService
()
test/playwright/unit/ai/daemons/orchestrator/services/TenantRepoSyncService.spec.mjs:40
↓ 25 callersMethodgetSummaryCollection
* @returns {Promise<CollectionProxy>} A proxy respecting aiConfig.engine
ai/services/memory-core/managers/StorageRouter.mjs:45
↓ 25 callersFunctionnext
(c)
buildScripts/docs/jsdoc-x/sorter.mjs:77
↓ 25 callersFunctionseedBackup
* 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 callersMethodwriteLog
* Helper to call the injected log function. * @param {String} level * @param {String} message * @returns {void}
ai/daemons/orchestrator/services/TaskStateService.mjs:292
↓ 24 callersMethodfirst
* Returns the first item inside the collection * @returns {Object}
src/collection/Base.mjs:1074
↓ 24 callersMethodgetDataField
* 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 callersFunctionreadPendingWalRecords
({dir, ids, limit} = {})
ai/services/memory-core/helpers/memoryWalStore.mjs:217
↓ 24 callersMethodstat
* 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 callersFunctiontoErrorMessage
(error)
ai/daemons/orchestrator/services/DreamService.mjs:47
↓ 23 callersMethodenqueue
* 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 callersFunctionmakeFakeIngestionService
({captureCalls = []} = {})
test/playwright/unit/ai/daemons/orchestrator/services/TenantRepoSyncService.spec.mjs:76
↓ 23 callersMethodsetRoute
* @param {String} hash
apps/realworld2/view/HeaderToolbarController.mjs:43
↓ 23 callersMethodwriteFile
({absolutePath, content})
ai/mcp/server/file-system/services/FileSystemService.mjs:36
↓ 23 callersFunctionwriteLog
* 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 callersMethodconvertToyyyymmdd
* 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 callersFunctioncreateTestService
()
test/playwright/unit/ai/daemons/orchestrator/services/ProcessSupervisorService.spec.mjs:8
↓ 22 callersMethodcreateVdomReference
* Creates a lightweight, serializable placeholder for this component, intended for injection * into the VDOM of other components. * * T
src/mixin/VdomLifecycle.mjs:159
↓ 22 callersMethodgetByIndex
* Extracts exact matching items synchronously from the GraphStore topography in O(1) mapping operations. * Assumes `property` exists dynamically
ai/graph/Store.mjs:113
↓ 22 callersMethodhealthcheck
* Checks the health of the Neural Link server. * @returns {Promise<Object>} The health status payload.
ai/services/neural-link/HealthService.mjs:34
↓ 22 callersFunctionmakeCandidate
(taskName, descriptorOverrides = {})
test/playwright/unit/ai/daemons/orchestrator/scheduling/picker.spec.mjs:4
↓ 22 callersFunctionmakeFakeEnvelopeBuilder
({captureCalls = []} = {})
test/playwright/unit/ai/daemons/orchestrator/services/TenantRepoSyncService.spec.mjs:62
↓ 22 callersMethodquery
* 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 callersFunctionresolveTargets
({ selfIdentity, targetSource = null, explicitTargets = null, a
ai/daemons/orchestrator/scheduling/swarmHeartbeat.mjs:91
↓ 22 callersMethodset
(value)
src/data/RecordFactory.mjs:117
↓ 22 callersMethodsetConfigs
* 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 callersMethodsetData
* Pass new graph data to the worker * @param {Object} data {nodes, links}
apps/agentos/view/Blackboard.mjs:72
↓ 21 callersMethoddelete
* @param {Object} [opts={}] * @param {Object} [opts.data] * @param {Object} [opts.params] * @param {String} [opts.resource] * @par
apps/realworld/api/Base.mjs:131
↓ 21 callersMethodisFunction
* Returns true if the passed value is a function * @param {Function} value The value to test * @returns {Boolean}
src/core/Util.mjs:144
↓ 21 callersMethodmanageDatabaseBackup
* 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
← previousnext →101–200 of 8,612, ranked by callers