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
↓ 1,949 callers
Method
push
* Adds one or more items to the end of the collection and returns the new items count * @param {Array|Object} item The item(s) to add * @ret
src/collection/Base.mjs:1386
↓ 901 callers
Method
includes
* Checks if rect2 is fully contained inside rect1 * @param {Object} rect1 * @param {Object} rect2 * @returns {Boolean}
src/util/Rectangle.mjs:140
↓ 873 callers
Method
log
* Synchronously persists a specific Neural Link tool invocation into the shared memory core. * Guaranteed not to throw or block the main executio
ai/services/neural-link/RecorderService.mjs:88
↓ 872 callers
Method
bind
src/worker/ServiceBase.mjs:155
↓ 774 callers
Method
create
* Creates a Neo.vdom.VNode tree for the given vdom template. * The top level vnode contains the outerHTML as a string, * in case Neo.config.
src/vdom/Helper.mjs:221
↓ 711 callers
Method
forEach
* Overrides collection.Base:forEach() to ensure the iterated item is a Record instance. * @param {Function} fn The function to execute for each r
src/data/Store.mjs:701
↓ 652 callers
Method
error
* @param {String} value
src/util/Logger.mjs:93
↓ 637 callers
Method
get
* Overrides collection.Base:get() to ensure the returned item is a Record instance. * @param {Number|String} key * @returns {Object|null}
src/data/Store.mjs:713
↓ 520 callers
Method
run
* Runs a task from collection. * @param {String} taskId
src/manager/Task.mjs:92
↓ 484 callers
Method
resolve
* Sends a success reply back to the caller of a remote method. * Used when the remote method executes successfully. * It handles the transfe
src/worker/mixin/RemoteMethodAccess.mjs:299
↓ 405 callers
Method
has
* Returns a boolean asserting whether a value has been associated to the key in the Collection or not * @param {Number|String} key * @return
src/collection/Base.mjs:1192
↓ 403 callers
Method
isArray
* Returns true if the passed value is an array * @param {Object} value The value to test * @returns {Boolean}
src/core/Util.mjs:87
↓ 377 callers
Method
find
* Search vdom child nodes by id or opts object for a given vdom tree * @param {Object} vdom * @param {Object|String} opts Either an object c
src/util/VDom.mjs:50
↓ 368 callers
Method
warn
* @param args
src/util/Logger.mjs:209
↓ 359 callers
Method
split
(raw, headerRegex, build)
apps/portal/view/news/pulls/Component.mjs:248
↓ 357 callers
Method
parse
* Parses a Playwright test file into granular chunks. * @param {String} content The raw file content. * @param {String} filePath The relativ
ai/services/knowledge-base/parser/TestParser.mjs:41
↓ 349 callers
Method
on
* Alias for addListener * @param {Object|String} name * @param {Object} [opts] * @param {Object} [scope] * @param {String} [eventI
src/core/Observable.mjs:273
↓ 345 callers
Method
update
* Creates a Neo.vdom.VNode tree for the given vdom template and compares the new vnode with the current one * to calculate the vdom deltas.
src/vdom/Helper.mjs:815
↓ 337 callers
Method
getReference
* convenience shortcut * @param {String} value * @returns {Neo.component.Base|null}
src/component/Base.mjs:1338
↓ 322 callers
Method
filter
* Overrides Store:filter() to dynamically calculate contextual ranks. * The rank is calculated based on "structural" filters (country, hireable,
apps/devindex/store/Contributors.mjs:106
↓ 319 callers
Method
destroy
*
src/grid/Row.mjs:582
↓ 316 callers
Method
get
(args)
ai/services/memory-core/managers/CollectionProxy.mjs:59
↓ 314 callers
Method
log
* Remote console access to main threads. * You can use appName or windowId to target specific windows. * @param {Object} data * @param
src/Main.mjs:236
↓ 302 callers
Function
setup
(options = {})
test/playwright/setup.mjs:40
↓ 275 callers
Function
leaf
(defaultValue, env = null, type = null)
ai/ConfigProvider.mjs:52
↓ 273 callers
Method
set
* set() accepts the following input as keys: * 1. Non-reactive configs * 2. Reactive configs * 3. Class fields defined via value *
src/core/Base.mjs:1070
↓ 268 callers
Method
sort
* @param {Object} opts={} * @param {String} opts.direction * @param {String} opts.property
src/data/Store.mjs:1362
↓ 262 callers
Method
filter
* Hides Tree nodes which do not match the filter * @param {String} property The store field to filter by * @param {String} value The filter
src/tree/List.mjs:466
↓ 252 callers
Method
timeout
* Stores timeoutIds internally, so that destroy() can clear them if needed * @param {Number} time in milliseconds * @returns {Promise<any>}
src/core/Base.mjs:1154
↓ 248 callers
Method
resolve
* Resolves the active agent identity via the configured chain (env-var → gh CLI → unresolved). * Returns a plain object suitable for spreading in
ai/mcp/server/shared/services/StdioIdentityResolver.mjs:68
↓ 247 callers
Method
info
* @param args
src/util/Logger.mjs:134
↓ 221 callers
Method
upsertNode
* Upserts a Node representation into the graph securely linking the ID. * @important The `type` string is mapped directly to `node.label` to comp
ai/services/memory-core/GraphService.mjs:184
↓ 219 callers
Method
indexOf
* Finds the index of a direct child component inside this.items. * @param {Neo.component.Base|String} itemId Either the item reference or the ite
src/container/Base.mjs:602
↓ 181 callers
Method
add
* Overrides collection.Base: add() to convert items into records if needed. * * **1. Eager Mode (`init=true` - Default):** * Immediatel
src/data/Store.mjs:258
↓ 181 callers
Method
ready
* Returns a promise that resolves when the instance is fully initialized (after initAsync). * Use case: alternative way to subscribe to the ready
src/core/Base.mjs:963
↓ 173 callers
Method
clear
* Removes all items and clears the map. Overridden from Base.mjs to ensure indexMaps are flushed. * @param {Boolean} [reset=true]
ai/graph/Store.mjs:70
↓ 173 callers
Method
some
* @param {function} callback Function to test for each item, taking three parameters: * @param {Object} callback.item The current collection it
src/collection/Base.mjs:1437
↓ 171 callers
Method
fire
* Iterates the event path to find matching listeners on components. * It utilizes `ComponentManager.getParentPath()` to construct a logical compo
src/manager/DomEvent.mjs:142
↓ 153 callers
Method
app
* Convenience shortcut to access the App this component belongs to * @returns {Neo.controller.Application|null}
src/component/Abstract.mjs:149
↓ 139 callers
Method
set
(config)
test/playwright/unit/grid/column/Component.spec.mjs:28
↓ 132 callers
Method
remove
* Removes an item or array of items from an array. Only primitive items will get found * @param {Array} arr * @param {*} items
src/util/Array.mjs:126
↓ 120 callers
Method
call
* Sends a JSON-RPC request to a specific session via the Bridge. * @param {String} sessionId The target session ID. * @param {String} met
ai/services/neural-link/ConnectionService.mjs:98
↓ 118 callers
Method
getCount
* Returns the total number of tabs in the container. * @returns {Number} The number of tabs.
src/tab/Container.mjs:348
↓ 114 callers
Method
forEach
* Executes a provided function once for each array element. * @param {Function} fn The function to execute for each element. * @param {Objec
src/collection/Base.mjs:1446
↓ 114 callers
Method
update
(args)
ai/services/memory-core/managers/CollectionProxy.mjs:54
↓ 112 callers
Method
getAt
* Overrides collection.Base:getAt() to ensure the returned item is a Record instance. * @param {Number} index * @returns {Object|undefined}
src/data/Store.mjs:722
↓ 110 callers
Method
getStateProvider
* Returns the container stateProvider or its closest parent stateProvider * @param {String} [ntype] * @returns {Neo.state.Provider|null}
src/layout/Base.mjs:118
↓ 92 callers
Method
isNumber
* Returns true if the passed value is a number. Returns false for non-finite numbers * @param {Number} value The value to test * @returns {B
src/core/Util.mjs:153
↓ 90 callers
Method
skip
* Builds a skipped result and logs warnings for operator-action states. * @param {String} reasonCode Stable skip reason. * @param {Object} d
ai/daemons/orchestrator/services/PrimaryRepoSyncService.mjs:852
↓ 86 callers
Method
promiseUpdate
* @returns {Promise<any>}
src/mixin/VdomLifecycle.mjs:774
↓ 84 callers
Method
writeFile
* Writes data to a file. * @param {Object} config Configuration object. * @param {String|Buffer} config.data The data to write.
apps/legit/service/Legit.mjs:319
↓ 83 callers
Method
readFile
* Reads the content of a file. * @param {String} path The file path. * @param {Object} [options] Read options. * @returns {Promise<*>}
apps/legit/service/Legit.mjs:221
↓ 83 callers
Function
resolve
test/playwright/unit/draggable/grid/header/toolbar/SortZone.spec.mjs:28
↓ 82 callers
Method
addMessage
* Adds a new message to the mailbox system. * @param {Object} args * @param {String} args.to The agent identity, role, or broadcast to send
ai/services/memory-core/MailboxService.mjs:384
↓ 81 callers
Method
addEventListener
(type, fn)
test/playwright/unit/data/StoreDynamicUrl.spec.mjs:54
↓ 80 callers
Method
pop
* Removes the last element from the items array and returns this element. * @returns {Object} The removed element from the collection; undefined
src/collection/Base.mjs:1376
↓ 79 callers
Method
initVnode
* Creates the vnode tree for this component and mounts the component in case * - you pass true for the mount param * - or the autoMount conf
src/mixin/VdomLifecycle.mjs:539
↓ 78 callers
Method
get
* Returns the object associated to the key, or null if there is none. * @param {Number|String} key * @param {Boolean} [includeWrapperN
src/manager/Component.mjs:190
↓ 74 callers
Method
addDomListeners
* Convenience shortcut to add additional dom listeners * @param {Object|Object[]} value
src/mixin/DomEvents.mjs:46
↓ 72 callers
Method
initAsync
()
test/playwright/unit/ai/mcp/server/BaseServer.spec.mjs:97
↓ 71 callers
Function
callJsonTool
(client, name, args = {})
test/playwright/integration/fixtures/mcpClient.mjs:119
↓ 69 callers
Method
getByFlag
* Convenience shortcut for find(vdom, {flag: flag}); * @param {Object} vdom * @param {String} flag The flag reference specified on the targe
src/util/VDom.mjs:142
↓ 69 callers
Method
linkNodes
* Links two nodes via a relationship tracking edge weight metadata. * * @summary Creates an edge between two nodes. This method executes as
ai/services/memory-core/GraphService.mjs:322
↓ 68 callers
Method
close
()
test/playwright/unit/ai/scripts/diagnostics/mcpHealthcheck.spec.mjs:112
↓ 67 callers
Method
isString
* Returns true if the passed value is a string * @param {String} value The value to test * @returns {Boolean}
src/core/Util.mjs:191
↓ 65 callers
Method
getElement
* @param {String|HTMLElement|Window|Document} nodeId * @returns {HTMLElement|Window|Document|null} * @protected
src/main/DomAccess.mjs:455
↓ 64 callers
Method
add
(args)
ai/services/memory-core/managers/CollectionProxy.mjs:44
↓ 63 callers
Method
configure
* Configures the service and reads the initial state. * @param {Object} options * @param {String} options.stateFile * @param {Object} o
ai/daemons/orchestrator/services/TaskStateService.mjs:85
↓ 61 callers
Method
down
* Convenience shortcut for Neo.manager.Component.down * @param {Object|String} config * @param {Boolean} returnFirstMatch=true * @retur
src/component/Base.mjs:1221
↓ 61 callers
Method
run
* Runs `callback` with the supplied context scoped to the active async call stack. * * @param {Object} context The re
ai/mcp/server/shared/services/RequestContextService.mjs:237
↓ 60 callers
Method
format
* Calculate position and output correct String to Field * @protected
src/plugin/PrefixField.mjs:207
↓ 60 callers
Method
getTime
* Calculates the time for the end- or startTime * @param {String} value * @returns {Number}
src/calendar/view/week/TimeAxisComponent.mjs:214
↓ 60 callers
Method
readJson
* Reads a JSON or JSONL file. * @param {String} path * @param {*} defaultValue * @returns {Promise<*>} * @private
apps/devindex/services/Storage.mjs:451
↓ 58 callers
Function
opts
test/playwright/unit/util/Env.spec.mjs:23
↓ 58 callers
Method
write
* Output method * @param {Object} args * @param {String} level * @protected
src/util/Logger.mjs:220
↓ 57 callers
Function
log
(level, msg)
ai/daemons/orchestrator/scheduling/swarmHeartbeat.mjs:99
↓ 57 callers
Method
readFile
({absolutePath})
ai/mcp/server/file-system/services/FileSystemService.mjs:30
↓ 56 callers
Method
beforeSetEnumValue
* Convenience method for beforeSet functions which test if a given value is inside a static array * @param {String|Number} value * @param {S
src/core/Base.mjs:454
↓ 56 callers
Method
get
* @param {Object} [opts={}] * @param {Object} [opts.data] * @param {Object} [opts.params] * @param {String} [opts.resource] * @par
apps/realworld/api/Base.mjs:158
↓ 56 callers
Method
readdir
* Reads the contents of a directory. * @param {String} path The directory path. * @returns {Promise<String[]>} An array of file names.
apps/legit/service/Legit.mjs:231
↓ 55 callers
Method
click
(data)
src/tab/Container.mjs:422
↓ 54 callers
Method
getItem
* An alternative for `getReference()` which is useful before a component tree got created. * `getReference()` relies on child items being registe
src/container/Base.mjs:568
↓ 54 callers
Method
getStore
* Access the closest store inside the VM parent chain. * @param {String} key * @param {Neo.state.Provider} originStateProvider=this for inte
src/state/Provider.mjs:421
↓ 54 callers
Method
isObject
* Returns true if the passed value is an object * @param {Object} value The value to test * @returns {Boolean}
src/core/Util.mjs:162
↓ 52 callers
Method
delete
(args)
ai/services/memory-core/managers/CollectionProxy.mjs:83
↓ 51 callers
Method
delete
* @param {Object|String} url * @param {Object} config * @returns {Promise<any>}
src/data/connection/Fetch.mjs:39
↓ 51 callers
Method
equals
(other)
src/util/Rectangle.mjs:559
↓ 50 callers
Method
poll
* Executes a sweep and schedules the next poll when the daemon remains active. * @returns {void}
ai/daemons/orchestrator/Orchestrator.mjs:346
↓ 49 callers
Method
getBoundingClientRect
* Returns node.getBoundingClientRect() for a given dom node id * @param {Object} data * @param {Array|String} data.id either an id or an arr
src/main/DomAccess.mjs:369
↓ 49 callers
Method
query
* Executes a GraphQL query or mutation against the GitHub API. * @param {string} query The GraphQL query string.
ai/services/github-workflow/GraphqlService.mjs:243
↓ 49 callers
Method
shift
* Removes the first element from the items array and returns this element. * @returns {Object} The removed element from the collection; undefined
src/collection/Base.mjs:1423
↓ 48 callers
Method
setData
* The method will assign all values to the closest stateProvider where it finds an existing key. * In case no match is found inside the parent ch
src/state/Provider.mjs:672
↓ 47 callers
Method
clone
* @param {Object} vdom * @param {Boolean} removeIds=true * @returns {Object} cloned vdom
src/util/VDom.mjs:22
↓ 47 callers
Method
setSilent
* Convenience shortcut calling set() with the silent flag * @param {Object} values={}
src/layout/Base.mjs:189
↓ 46 callers
Method
applyDeltas
* @param {String} windowId * @param {Array|Object} deltas * @returns {Promise<*>}
src/worker/App.mjs:119
↓ 46 callers
Method
beforeSetInstance
* can get used inside beforeSet methods in case you want to create instances like stores * @param {Object|Neo.core.Base|null} config * @para
src/util/ClassSystem.mjs:23
↓ 46 callers
Function
fetch
({mirrorRoot, tenantId, repoSlug, credentialRef} = {})
ai/services/knowledge-base/helpers/gitMirror.mjs:462
↓ 46 callers
Method
getDataConfig
(path)
test/playwright/unit/state/createHierarchicalDataProxy.spec.mjs:37
↓ 46 callers
Method
splice
* Removes items from and/or adds items to this collection * If the toRemoveArray is used, then the index is not used for removing, the entries ar
src/collection/Base.mjs:1459
↓ 45 callers
Method
grantPermission
* Grants a permission. The caller is the owner of the resource granting access TO another identity. * This creates a graph edge where `source = t
ai/services/memory-core/PermissionService.mjs:56
next →
1–100 of 8,612, ranked by callers