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
↓ 21 callers
Method
managePrReview
* @summary Atomic create or update of a formal GitHub pull request review. * * Closes the empirically-recurring formal-state gap pattern: ag
ai/services/github-workflow/PullRequestService.mjs:426
↓ 21 callers
Method
register
* @param {Object} api
src/remotes/Api.mjs:139
↓ 21 callers
Function
row
(id, ingestedAt, repoSlug = 'repo-x')
test/playwright/unit/ai/services/knowledge-base/kbGarbageCollectionEngine.spec.mjs:26
↓ 21 callers
Function
seed
(id, timestampMs = Date.now())
test/playwright/unit/ai/daemons/embed/drainCycle.spec.mjs:57
↓ 21 callers
Method
setProperty
* @param {Object} data * @param {String} data.id * @param {Boolean} [data.isColor=false] true will wrap the value into am4core.color()
src/main/addon/AmCharts.mjs:243
↓ 20 callers
Function
createMinimalOrchestrator
()
test/playwright/unit/ai/daemons/orchestrator/Orchestrator.invariants.spec.mjs:55
↓ 20 callers
Method
embed
* @summary Generates embedding vectors for one or more input texts via Ollama's * native `/api/embed` endpoint. * * The native endpoint
ai/provider/Ollama.mjs:232
↓ 20 callers
Method
embedText
* @summary Creates one embedding vector for interactive write/query paths. * * The OpenAI-compatible branch uses the contention retry budget
ai/services/memory-core/TextEmbeddingService.mjs:382
↓ 20 callers
Function
emitConsumerFriction
(input)
ai/services/memory-core/helpers/consumerFrictionHelper.mjs:205
↓ 20 callers
Method
executeRemCycle
* @summary Unified canonical REM (Sandman) cycle entrypoint returning a typed cycle outcome envelope. * * The orchestrator periodic dream pa
ai/daemons/orchestrator/services/DreamService.mjs:510
↓ 20 callers
Method
getInputEl
* @returns {Object|null}
src/form/field/Text.mjs:1153
↓ 20 callers
Method
ingestSourceFiles
* @summary Ingests raw or client-parsed source files into the Knowledge Base. * * @param {Object} payload * @param {String} [payload.t
ai/services/knowledge-base/KnowledgeBaseIngestionService.mjs:116
↓ 20 callers
Function
match
()
test/playwright/unit/worker/ServiceBase.spec.mjs:49
↓ 20 callers
Method
pump
* Evaluates recent GraphLog deltas and pushes matching events to connected * Shape A (MCP notification) clients. Intended to be called by mutatio
ai/services/memory-core/WakeSubscriptionService.mjs:176
↓ 20 callers
Method
send
()
test/playwright/unit/data/StoreDynamicUrl.spec.mjs:61
↓ 20 callers
Method
serializeConfig
* Serializes a config object/array to be JSON-compatible. * Use this method when a config might contain references to Neo classes (constructors)
src/core/Base.mjs:1008
↓ 20 callers
Method
setEnvOverride
* Records and applies a runtime env-layer override, keyed by ENV VAR NAME (one var may feed * multiple leaves). The override wins over `process.e
ai/ConfigProvider.mjs:323
↓ 20 callers
Method
splice
* @summary The definitive mutation hook for hierarchical TreeStore data. * * Unlike a standard `Neo.collection.Base` which manages a single
src/data/TreeStore.mjs:880
↓ 20 callers
Method
syncVdomState
* Synchronizes state between the live VDOM (blueprint) and the incoming VNode (worker response). * * 1. **ID Synchronization (VNode -> VDOM)
src/util/VDom.mjs:434
↓ 19 callers
Function
buildTaskDefinitions
({ scriptDir = DEFAULT_SCRIPT_DIR, nodeBin = process.argv[0], chromaPort, mlxEnabled = fal
ai/daemons/orchestrator/taskDefinitions.mjs:44
↓ 19 callers
Function
cleanupChromaManager
(SDK)
test/playwright/unit/ai/services/memory-core/util.mjs:42
↓ 19 callers
Method
cleanupGraphService
(GraphService, SystemLifecycleService, testDbPath, fs, strategy = 'destroy')
test/playwright/unit/ai/services/memory-core/util.mjs:120
↓ 19 callers
Function
compareBy
* Compares the given two symbols by the specified property. * @private * * @param {String} prop - Property/key to be used for comparison. * @p
buildScripts/docs/jsdoc-x/sorter.mjs:31
↓ 19 callers
Method
count
()
ai/services/memory-core/managers/CollectionProxy.mjs:75
↓ 19 callers
Function
drainMemoryWal
({ids, collection, SDK} = {})
test/playwright/unit/ai/services/memory-core/util.mjs:103
↓ 19 callers
Method
getField
* Finds a field config by a given field name * @param {String} name * @returns {Object|null} The field config object or null if no match was
src/data/Model.mjs:124
↓ 19 callers
Method
getFilter
* Returns the first matching filter for the given property config * @param {String} property * @returns {Neo.collection.Filter|null}
src/collection/Base.mjs:1126
↓ 19 callers
Method
getItemRecordId
* @param {String} vnodeId * @returns {String|Number} itemId
src/list/Base.mjs:721
↓ 19 callers
Method
getItemVnodeId
* @param {Number|String} id * @returns {String}
src/component/Helix.mjs:829
↓ 19 callers
Method
getPlugin
* @param {Object|String} opts * @returns {Neo.plugin.Base|null}
src/component/Base.mjs:1303
↓ 19 callers
Method
getRecordId
* @param {String} vnodeId * @returns {String|Number} itemId
src/sitemap/Component.mjs:182
↓ 19 callers
Method
initAsync
* @returns {Promise<void>}
ai/services/neural-link/DataService.mjs:31
↓ 19 callers
Method
query
* Executes a GraphQL query or mutation against the GitLab API. * @param {String} query The GraphQL query/mutation string. *
ai/services/gitlab-workflow/GitLabClient.mjs:248
↓ 19 callers
Function
row
(id, v, metadata = {})
test/playwright/unit/ai/daemons/kb-reconciliation/KbReconciliationService.spec.mjs:50
↓ 19 callers
Method
select
* @param {Object|Object[]|String[]} items * @param {Object[]|String[]} itemCollection=this.items * @param {String} [selectedCls]
src/selection/Model.mjs:232
↓ 19 callers
Method
sendMessage
* @param {String} dest app, canvas, data, main or vdom (excluding the current worker) * @param {Object} opts configs for Neo.worker.Message
src/worker/Base.mjs:335
↓ 19 callers
Method
start
* Starts the autonomous loop.
ai/Agent.mjs:162
↓ 19 callers
Function
sub
(over = {})
test/playwright/unit/ai/services/memory-core/heartbeatPulseEvaluator.spec.mjs:87
↓ 19 callers
Method
transaction
* Executes purely synchronous atomic closures securely mirroring standard database parameters effectively. * Utilizes a rollback buffer erasing l
ai/graph/Database.mjs:475
↓ 18 callers
Function
acquireHeavyMaintenanceLease
({ owner, reason = 'manual', metadata = {}, leasePath = DEFAULT_HEAVY_MAINTENANCE
ai/daemons/orchestrator/services/HeavyMaintenanceLeaseService.mjs:342
↓ 18 callers
Function
buildEnvelope
(eventType, payload, logId = 1)
test/playwright/unit/ai/services/memory-core/CoalescingEngineService.spec.mjs:21
↓ 18 callers
Method
clear
* Removes all items and clears the map * @param {Boolean} [reset=true] True to also clear the allItems collection. * This is useful for filt
src/collection/Base.mjs:573
↓ 18 callers
Method
close
* Closes the connection. * @returns {Promise<void>}
ai/mcp/client/Client.mjs:211
↓ 18 callers
Function
createExecStub
(steps)
test/playwright/unit/ai/daemons/orchestrator/services/PrimaryRepoSyncService.spec.mjs:11
↓ 18 callers
Function
createMockComponent
(id, parentId, vdom)
test/playwright/unit/vdom/AsymmetricUpdates.spec.mjs:24
↓ 18 callers
Function
getAggregatedFrictions
({now = Date.now()} = {})
ai/services/memory-core/helpers/consumerFrictionHelper.mjs:283
↓ 18 callers
Method
getKnowledgeBaseCollection
* @returns {Promise<Object>}
ai/services/knowledge-base/ChromaManager.mjs:114
↓ 18 callers
Method
getTabBar
* A convenience method to get the `HeaderToolbar` instance that holds the tab buttons. * @returns {Neo.toolbar.Base} The header toolbar instance.
src/tab/Container.mjs:399
↓ 18 callers
Method
getTaskState
* Gets the state for a specific task. * @param {String} taskName * @returns {Object}
ai/daemons/orchestrator/services/TaskStateService.mjs:142
↓ 18 callers
Method
loadModule
* @summary Remotely loads an ES module into the App Worker. * @warning For component testing via Playwright ONLY. Do NOT use this in application
src/worker/App.mjs:545
↓ 18 callers
Method
logError
* @param args
src/util/Logger.mjs:150
↓ 18 callers
Function
runCommand
(command, errorMessage)
buildScripts/release/publish.mjs:31
↓ 18 callers
Method
setupRequestHandlers
* @summary Wires up the standard MCP request handlers (ListTools + CallTool) on the * given `mcpServer`. Health-gate, dispatch-context-wrap, and
ai/mcp/server/BaseServer.mjs:278
↓ 18 callers
Method
trap
* Wraps a promise to ensure it rejects if the component is destroyed before completion. * @param {Promise} promise - The promise to wrap. *
src/core/Base.mjs:1172
↓ 18 callers
Function
validateSegment
(value, name, options = {})
ai/services/github-workflow/shared/contentPath.mjs:244
↓ 17 callers
Method
ask
* Performs a semantic search via QueryService and synthesizes an answer using the LLM. * * @param {Object} params * @param {String} par
ai/services/knowledge-base/SearchService.mjs:260
↓ 17 callers
Function
buildSubscription
(overrides = {})
test/playwright/unit/ai/services/memory-core/CoalescingEngineService.spec.mjs:32
↓ 17 callers
Method
constrainTo
* Returns a copy of this Rectangle constrained to fit within the passed Rectangle * @param {Rectangle} constrainTo * @returns {Rectangle|Boo
src/util/Rectangle.mjs:329
↓ 17 callers
Method
formatNumber
* This method will get used as a grid renderer, so the 2nd param is an overload (would be {Object} record) * @param {Object} data * @param {
apps/covid/Util.mjs:61
↓ 17 callers
Method
formatNumber
* This method will get used as a grid renderer, so the 2nd param is an overload (would be {Object} record) * @param {Object} data * @param {
apps/sharedcovid/Util.mjs:61
↓ 17 callers
Method
generate
* Generates a text completion for the given prompt. * Must be implemented by subclasses. * * @param {String|Object|Array} input The pro
ai/provider/Base.mjs:55
↓ 17 callers
Function
inspectHeavyMaintenanceLease
({ leasePath = DEFAULT_HEAVY_MAINTENANCE_LEASE_PATH, fsModule = fs, now = new Date(), i
ai/daemons/orchestrator/services/HeavyMaintenanceLeaseService.mjs:140
↓ 17 callers
Method
isEqual
* @param {*} item1 * @param {*} item2 * @returns {Boolean}
src/core/Compare.mjs:145
↓ 17 callers
Method
manage
* Unified entry point for the `manage_wake_subscription` MCP tool. Dispatches to * action-specific handlers per ADR 0002 §6.6. ticket-ref-ok: dec
ai/services/memory-core/WakeSubscriptionService.mjs:291
↓ 17 callers
Function
runCli
(args, extraEnv = {})
test/playwright/unit/ai/scripts/lifecycle/wakeSafetyGate.spec.mjs:64
↓ 17 callers
Method
union
* Returns an array of items which are present in the passed arrays. * Multiple arrays may be passed. * Only supports primitive items *
src/util/Array.mjs:170
↓ 17 callers
Function
validateAlertRule
(rule)
ai/services/knowledge-base/helpers/kbAlertRuleEngine.mjs:103
↓ 16 callers
Method
addCls
* Add a new cls to the vdomRoot * @param {String} value
src/component/Base.mjs:355
↓ 16 callers
Function
applyStubs
Deterministic seam baseline — `scheduleNext` neutralized so no real timer leaks.
test/playwright/unit/ai/daemons/kb-reconciliation/KbReconciliationService.spec.mjs:115
↓ 16 callers
Method
assertDestructiveTargetAllowed
* Asserts that a destructive target is disposable, or explicitly operator-confirmed. * * @param {Object} options * @param {Strin
ai/mcp/server/shared/services/DestructiveOperationGuard.mjs:201
↓ 16 callers
Function
createConfigProxy
(instance)
ai/ConfigProvider.mjs:419
↓ 16 callers
Function
createLeasePath
(name)
test/playwright/unit/ai/daemons/orchestrator/services/HeavyMaintenanceLeaseService.spec.mjs:19
↓ 16 callers
Method
createNeoInstance
* Remote method to use inside main threads for creating neo based class instances. * Be aware that you can only pass configs which can get conver
src/worker/App.mjs:159
↓ 16 callers
Method
disconnect
* Disconnects all clients and stops the loop.
ai/Agent.mjs:150
↓ 16 callers
Method
e
* shortcut for getElement
src/util/Matrix.mjs:26
↓ 16 callers
Function
evaluateAlertRules
({rules, rollup, cooldownState = {}, now, cooldownMs = DEFAULT_COOLDOWN_MS})
ai/services/knowledge-base/helpers/kbAlertRuleEngine.mjs:152
↓ 16 callers
Function
fn
(cmd, args, options)
test/playwright/unit/ai/daemons/orchestrator/services/PrimaryRepoSyncService.spec.mjs:14
↓ 16 callers
Function
insertDurableSubscription
({ subscriptionId = `WAKE_SUB:${crypto.randomUUID()}`, owner = '@alice', trigger = 'SE
test/playwright/unit/ai/services/memory-core/WakeSubscriptionService.spec.mjs:106
↓ 16 callers
Method
insertThemeFiles
* In case you don't want to include prototype based CSS files, use the className param instead * @param {String} windowId * @param {Neo.core
src/worker/App.mjs:477
↓ 16 callers
Function
makeFakeGitMirror
({captureCalls = []} = {})
test/playwright/unit/ai/daemons/orchestrator/services/TenantRepoSyncService.spec.mjs:52
↓ 16 callers
Function
median
(xs)
ai/scripts/benchmark/helpers/stats.mjs:19
↓ 16 callers
Method
resolveOverrideMetadata
* Resolves the boot instance-address envelope into wake-subscription `overrideMetadata`. * * @param {Object} [env=process.env] Environment s
ai/mcp/server/shared/services/BootEnvelopeResolver.mjs:102
↓ 16 callers
Method
reverse
* Reverses the items array in place. * Intended for collections without sorters. * @returns {Array} items
src/collection/Base.mjs:1415
↓ 16 callers
Function
seedTask
* Helper: seed a task with a chosen state and expiresAt via addMessage. Returns msgId.
test/playwright/unit/ai/services/memory-core/MailboxService.spec.mjs:1969
↓ 15 callers
Method
add
* @param {Array|Object} item * @param {Boolean} [init] * @returns {Number|Object[]|Neo.data.Model[]}
apps/devindex/store/Contributors.mjs:80
↓ 15 callers
Method
add
* Adds one or more tab items to the end of the container. * @param {Object|Object[]} item The configuration object for a new tab or an array of s
src/tab/Container.mjs:135
↓ 15 callers
Function
buildMockIssue
* Builds the minimal GraphQL issue shape that `IssueSyncer.#formatIssueMarkdown` accepts. * The `comments` subselect is gone from the query, so t
test/playwright/unit/ai/services/github-workflow/IssueSyncer.spec.mjs:1085
↓ 15 callers
Function
buildTaskStateService
* Builds a minimal `taskStateService`-shaped stub for predicate / finder tests. * @param {Object} stateByTaskName Map of taskName → state-object. *
test/playwright/unit/ai/daemons/orchestrator/services/MaintenanceBackpressureService.spec.mjs:26
↓ 15 callers
Function
cloneIfMissing
(args)
test/playwright/unit/ai/daemons/orchestrator/services/TenantRepoSyncService.spec.mjs:54
↓ 15 callers
Method
createComment
* Creates a comment on a specific issue or pull request. * @param {object} options The options object * @param {number} [opti
ai/services/github-workflow/IssueService.mjs:371
↓ 15 callers
Function
createMinimalFixture
* Minimal fixture: a root anchor with two tier-1 children, one with an EXPLAINED_BY edge.
test/playwright/unit/ai/services/ConceptService.spec.mjs:45
↓ 15 callers
Method
decideWake
* Pure decision function — `Wake = active AND idle AND ready`. * * Each signal is independently necessary; dropping any one yields a known
ai/daemons/orchestrator/services/WakeDecisionService.mjs:119
↓ 15 callers
Method
destroyNeoInstance
* Remote method to use inside main threads for destroying neo based class instances. * * @warning This provides legacy testing support for e
src/worker/App.mjs:232
↓ 15 callers
Method
getKey
* @param {Object} item * @returns {String|Number}
src/collection/Base.mjs:1154
↓ 15 callers
Method
git
* Runs a git command in a specific working directory. * @param {String[]} args Git arguments. * @param {String} cwd Working directory.
ai/daemons/orchestrator/services/PrimaryRepoSyncService.mjs:682
↓ 15 callers
Method
isBoolean
* Returns true if the passed value is a boolean * @param {Object} value The value to test * @returns {Boolean}
src/core/Util.mjs:96
↓ 15 callers
Method
isEmpty
* Returns true if the passed value is an empty Array, Object or String * @param {Array|Object|String} value The value to test * @returns {Bo
src/core/Util.mjs:114
↓ 15 callers
Method
isSelected
* @param {String} id * @returns {Boolean} true in case the item is selected
src/selection/Model.mjs:186
↓ 15 callers
Method
loadScript
* Include a script into the document.head * You can add more attributes if needed. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element
src/main/DomAccess.mjs:540
↓ 15 callers
Method
moveTo
* Moves an existing tab (both its button and its card) from one index to another. * This is primarily used for drag-and-drop reordering. * @
src/tab/Container.mjs:519
← previous
next →
201–300 of 8,612, ranked by callers