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
↓ 9 callers
Function
fail
* Pushes a failure record. * @param {Array<Object>} failures Mutable failure list. * @param {String} surface Stale surface. * @param {String} messa
ai/scripts/diagnostics/check-identity-facts.mjs:220
↓ 9 callers
Method
findSessionsToSummarize
* Finds sessions that need summarization by detecting "Drift" between the database state * and the summary metadata. * * **Logic:**
ai/services/memory-core/SessionService.mjs:329
↓ 9 callers
Method
getElementOrBody
* @param {String|HTMLElement} nodeId='document.body' * @returns {HTMLElement|null} * @protected
src/main/DomAccess.mjs:481
↓ 9 callers
Method
getInputElId
* @returns {String}
src/form/field/Text.mjs:1160
↓ 9 callers
Method
getItemId
* @param {Number|String} recordId * @returns {String}
src/sitemap/Component.mjs:174
↓ 9 callers
Method
getKeyType
* Convenience shortcut to check for int based keyProperties * @returns {String|null} lowercase value of the model field type
src/data/Store.mjs:759
↓ 9 callers
Function
getLastSyncId
(db, stateFile)
ai/daemons/wake/queries.mjs:33
↓ 9 callers
Method
getMessage
* Retrieves a single message. * @param {Object} args * @param {String} args.messageId The ID of the message to retrieve * @returns {Pro
ai/services/memory-core/MailboxService.mjs:767
↓ 9 callers
Method
getStateProvider
* sameLevelOnly=false will return the closest stateProvider inside the component parent tree, * in case there is none on the same level. * @
src/controller/Component.mjs:146
↓ 9 callers
Method
getSubmitValues
* @returns {Promise<Object>}
src/form/Container.mjs:201
↓ 9 callers
Method
getTenantConfig
* @summary Resolves a tenant's Knowledge Base ingestion config. * * Three-tier resolution: the `KnowledgeBaseTenantConfig` graph node (`kb-c
ai/services/knowledge-base/KnowledgeBaseIngestionService.mjs:799
↓ 9 callers
Method
getTenantIngestionRollup
* @summary Rolls up `kb_ingestion_metrics` rows into per-tenant aggregate counters. * * Phase 4A (#11665) read-API. Consumed by the Phase 4A
ai/services/knowledge-base/KBRecorderService.mjs:330
↓ 9 callers
Method
getVdomRoot
* Specify a different vdom root if needed to apply the top level style attributes on a different level. * Make sure to use getVnodeRoot() as well
src/component/Progress.mjs:116
↓ 9 callers
Method
getVdomTree
* Copies a given vdom tree and replaces child component references with their vdom. * @param {Object} vdom * @param {Number} [depth=-1]
src/util/vdom/TreeBuilder.mjs:107
↓ 9 callers
Method
getWindowData
* window.screen is not spreadable * @returns {Object}
src/Main.mjs:177
↓ 9 callers
Function
hasCoreSwarmParticipant
* @param {String|String[]|null|undefined} participatingAgents * @returns {Boolean}
ai/scripts/migrations/backfillChromaSharedUserId.mjs:162
↓ 9 callers
Method
hasPermission
* Synchronous check if the caller has the specified permission against the target. * @param {String} caller The identity attempting the action
ai/services/memory-core/PermissionService.mjs:160
↓ 9 callers
Method
importDatabase
* Imports a previously exported JSONL file back into the database. * @param {Object} options * @param {String} options.file The path to the
ai/services/memory-core/DatabaseService.mjs:389
↓ 9 callers
Method
indexOf
* Returns the index for a given key or item * @param {Number|String|Object} key * @returns {Number} index (-1 in case no match is found)
src/collection/Base.mjs:1210
↓ 9 callers
Method
inferConceptGraphGaps
* Pass 2: concept-graph gap inference via deterministic edge traversal. * * For each CONCEPT node in the graph, emits a non-destructive fres
ai/services/graph/GapInferenceEngine.mjs:274
↓ 9 callers
Method
invalidateKnowledgeBaseCollectionCache
* @summary Invalidates the memoized canonical knowledge-base collection handle. * * Shadow-swap re-embeds rename the canonical Chroma collec
ai/services/knowledge-base/ChromaManager.mjs:258
↓ 9 callers
Function
invokeWithGuardrail
({ invocationFn, inputPayload, model, assetRef, consumer, contextLimitTokens, safe
ai/services/memory-core/helpers/consumerFrictionHelper.mjs:334
↓ 9 callers
Method
isCommunityAuthor
* @summary Whether a ticket author qualifies for the community-multiplier boost: true when the * author exists, the internal-author registry is n
ai/services/ingestion/IssueIngestor.mjs:78
↓ 9 callers
Function
isConfigTemplateChangePath
(filePath)
ai/daemons/orchestrator/services/PrimaryRepoSyncService.mjs:73
↓ 9 callers
Method
isItem
* Helper method to check if a given input is either object-like or a key * @param {*} value * @returns {Boolean} returns true for object-lik
src/collection/Base.mjs:1294
↓ 9 callers
Function
isTenantRepoSyncErrorCode
(code)
ai/daemons/orchestrator/services/TenantRepoSyncErrors.mjs:77
↓ 9 callers
Function
lintDiff
* Pure-function lint entry: feed it diff text, get back violations. Exported for * unit testing without invoking `git` or the filesystem. * @param {
ai/scripts/lint/lint-agents.mjs:262
↓ 9 callers
Method
listIssues
* @summary Lists the configured GitLab project's issues via the GitLab GraphQL API. * @param {Object} [options={}] * @param {Number} [option
ai/services/gitlab-workflow/IssueService.mjs:152
↓ 9 callers
Method
listMemories
* Retrieves all memories for a session and returns a paginated payload. * @param {Object} options * @param {String} options.sessionId The ID
ai/services/memory-core/MemoryService.mjs:548
↓ 9 callers
Method
listSummaries
* Retrieves summaries in reverse chronological order using a two-phase fetch strategy. * * Step 1: Fetch ALL metadata (lightweight) to perfo
ai/services/memory-core/SummaryService.mjs:193
↓ 9 callers
Function
makeFakeGraphDb
* Build a fake `GraphService.db.storage.db` with stubbed `.prepare(sql)` returning * a statement whose `.get(...)` returns a predetermined row. * *
test/playwright/unit/ai/services/rem-observability.spec.mjs:102
↓ 9 callers
Function
makeFakeSummaryCollection
* Build a fake Chroma summary collection that returns the given batch on `.get()`. * Mirrors the `summaryCollection.get({include: ['metadatas'], limi
test/playwright/unit/ai/services/rem-observability.spec.mjs:82
↓ 9 callers
Method
normalize
* Reshapes the input data into a structure suitable for a Store. * Override this method in subclasses to implement specific normalization logic.
src/data/normalizer/Base.mjs:37
↓ 9 callers
Function
normalizeRepoSlug
(repoSlug)
ai/services/knowledge-base/helpers/tenantRepoAccessContract.mjs:163
↓ 9 callers
Method
parseActiveReadinessSentinels
* Composes the active readiness state from a list of candidate MESSAGE * nodes. Most-restrictive-wins on `expiresAt`: * * - Filters t
ai/daemons/orchestrator/services/WakeDecisionService.mjs:229
↓ 9 callers
Function
parseHeartbeatPulseEntityId
(entityId, prefix = HEARTBEAT_PULSE_ENTITY_PREFIX)
ai/services/memory-core/heartbeatPulseEvaluator.mjs:50
↓ 9 callers
Method
promiseMessage
* @param {String} dest app, data, main or vdom (excluding the current worker) * @param {Object} opts configs for Neo.worker.Message * @param
src/worker/Base.mjs:310
↓ 9 callers
Method
read
* Main data fetch operation. * Supports a self-healing retry loop for remote execution. * @param {Object} params * @param {Number} [att
src/data/Pipeline.mjs:407
↓ 9 callers
Method
reconcileTenant
* @summary Reconciles one tenant: config-version diff + manifest diff → telemetry → opt-in tombstone. * * Never throws — a per-tenant failur
ai/daemons/kb-reconciliation/KbReconciliationService.mjs:215
↓ 9 callers
Function
redactTenantRepoSecrets
(input, {secretHints = []} = {})
ai/services/knowledge-base/helpers/tenantRepoAccessContract.mjs:305
↓ 9 callers
Method
refetchIssuesByNumber
* @summary Force-refetches the given issues from GitHub, bypassing delta-sync `updatedAt` gating. * * The sync engine normally relies on `is
ai/services/github-workflow/SyncService.mjs:272
↓ 9 callers
Method
release
* Releases the current lease if the token matches. * @param {Object} options Release options. * @returns {Promise<Object>}
ai/daemons/orchestrator/services/HeavyMaintenanceLeaseService.mjs:649
↓ 9 callers
Method
removeAt
* Removes a tab from the container at a specific index. * @param {Number} index The index of the tab to remove. * @param {Boolean} [destroyI
src/tab/Container.mjs:615
↓ 9 callers
Method
removeNode
* @param {String} name * @returns {Boolean} true in case the node existed
src/plugin/Resizable.mjs:578
↓ 9 callers
Method
resolveAlias
* @summary Resolves an alias or alternative term to its canonical concept ID. * Performs case-insensitive O(1) lookup against the alias index bui
ai/services/ConceptService.mjs:534
↓ 9 callers
Method
resolveField
* Helper to resolve a field value from a raw data object using the Model definition. * Handles mapping, calculate, and convert. * * **L
src/data/Store.mjs:1185
↓ 9 callers
Method
rest
* Executes a REST API request. * @param {String} endpoint Relative path (e.g. 'search/repositories?q=...') * @param {String} [logContext='']
apps/devindex/services/GitHub.mjs:258
↓ 9 callers
Function
rewriteIdentityFields
(value)
ai/scripts/migrations/renameAgentIdentities.mjs:205
↓ 9 callers
Function
row
(id, ingestedAt, repoSlug = 'repo-x')
test/playwright/unit/ai/daemons/kb-gc/KbGarbageCollectionService.spec.mjs:50
↓ 9 callers
Function
runGit
(command)
ai/demo-agents/dev.mjs:68
↓ 9 callers
Method
runKbSync
* Runs `npm run ai:sync-kb` from the primary checkout, annotating the * cascade as a first-class `kbSync` task lifecycle event so the nested
ai/daemons/orchestrator/services/PrimaryRepoSyncService.mjs:561
↓ 9 callers
Method
save
* Saves the provided metadata object to the configured metadata file on disk, * ensuring the directory exists. This method also prunes the data t
ai/services/github-workflow/sync/MetadataManager.mjs:94
↓ 9 callers
Function
seedDefragBackup
(ageInDays)
test/playwright/unit/ai/scripts/maintenance/backup-retention.spec.mjs:295
↓ 9 callers
Function
sendJson
* @summary Sends a JSON response. * Sends a JSON response. * @param {http.ServerResponse} response The outgoing HTTP response. * @param {Number} st
ai/deploy/mock-oidc-server.mjs:41
↓ 9 callers
Method
set
* Change multiple configs at once, ensuring that all afterSet methods get all new assigned values * @param {Object} values={} * @param {Bool
src/component/Abstract.mjs:492
↓ 9 callers
Method
setProperties
* @param {Object} data * @param {String} data.id * @param {Object} data.properties
src/main/addon/AmCharts.mjs:230
↓ 9 callers
Method
setTenantConfig
* @summary Persists a tenant's Knowledge Base ingestion config as a versioned graph node. * * Writes the `KnowledgeBaseTenantConfig` node (`
ai/services/knowledge-base/KnowledgeBaseIngestionService.mjs:963
↓ 9 callers
Method
show
* @param {Boolean} animate=!!this.animateTargetId
src/dialog/Base.mjs:780
↓ 9 callers
Method
stream
* Streams text completion for the given prompt. * Must be implemented by subclasses. * * @param {String|Object|Array} input The prompt
ai/provider/Base.mjs:68
↓ 9 callers
Function
t
(e)
docs/resources/lib/highlight/highlight.pack.js:2
↓ 9 callers
Function
t
(e)
examples/component/toast/resources/lib/highlight/highlight.pack.js:2
↓ 9 callers
Method
testPathInclusion
* @param {Object} event * @param {Object} targetArray * @param {Object} testSubstring=false * @returns {Object|Boolean} target cls & no
src/main/DomEvents.mjs:911
↓ 9 callers
Method
updateOptions
* @param {Object} options
src/component/wrapper/MonacoEditor.mjs:483
↓ 9 callers
Function
validateBucketXor
({version, bucket})
ai/services/github-workflow/shared/contentPath.mjs:200
↓ 9 callers
Function
validateManifestSchema
(manifest, schema)
ai/scripts/lint/lint-skill-manifest.mjs:776
↓ 9 callers
Method
wrapMarkdownTables
* @summary Wraps Markdown-generated tables in a scroll container while preserving manual frontmatter tables. * * Mirrors the image-wrapper p
src/component/Markdown.mjs:254
↓ 9 callers
Function
writeFile
(level, args, loggerConfig)
ai/mcp/server/shared/logger.mjs:141
↓ 9 callers
Function
writeLog
* Persistent + console log writer. Writes a single line to BOTH stdout (live terminal * observability) AND the persistent `embed-daemon.log` file (po
ai/daemons/embed/daemon.mjs:121
↓ 9 callers
Method
writeState
* Persists the current task-state envelope. * @returns {void}
ai/daemons/orchestrator/services/TaskStateService.mjs:121
↓ 8 callers
Method
addNode
* @param {String} name * @returns {Boolean} true
src/plugin/Resizable.mjs:208
↓ 8 callers
Function
appendWalEmbedMarker
({id, segmentKey, embeddedAt}, {dir} = {})
ai/services/memory-core/helpers/memoryWalStore.mjs:133
↓ 8 callers
Method
assertProtectedRepoRootWrite
* @summary Refuses an exact repo-root file write through the MCP file-system server. * * The guard compares canonical parent directories plu
ai/mcp/server/shared/services/PolicyService.mjs:94
↓ 8 callers
Method
bindCallback
* @param {String} fn The name of a function to find in the passed scope object. * @param {Object} originName The name of the
src/core/Base.mjs:471
↓ 8 callers
Function
bodyMatches
(body, family)
ai/scripts/lifecycle/revalidationSweep.mjs:156
↓ 8 callers
Function
bootstrapWorktree
({mainCheckout, projectRoot, configs = BOOTSTRAP_CONFIGS, log = console.log})
ai/scripts/migrations/bootstrapWorktree.mjs:249
↓ 8 callers
Function
buildDevBranchGuard
* Wraps a SyncService method with a dev-branch-only guard at the tool boundary. * * Why tool-boundary, not library: `SyncService` callers include th
ai/mcp/server/github-workflow/toolService.mjs:70
↓ 8 callers
Function
buildDiscussion
(number, config = {})
test/playwright/unit/ai/services/github-workflow/DiscussionSyncer.spec.mjs:302
↓ 8 callers
Function
buildEmbeddingProviderBlock
(cfg)
ai/services/memory-core/HealthService.mjs:214
↓ 8 callers
Function
buildPullRequest
(number)
test/playwright/unit/ai/services/github-workflow/PullRequestSyncer.spec.mjs:239
↓ 8 callers
Method
calcValueBands
* Calculates the valueBands object for each item. * This is useful for UI grids to alternating highlight cells with the same value. * @param
src/collection/Base.mjs:485
↓ 8 callers
Function
callTool
(name, envelope)
test/playwright/unit/ai/scripts/maintenance/kbPushClient.spec.mjs:211
↓ 8 callers
Function
contentBucketDir
(config = {})
ai/services/github-workflow/shared/contentPath.mjs:152
↓ 8 callers
Method
create
* Main data create operation. * @param {Object} params * @returns {Promise<Object|Array|null>}
src/data/Pipeline.mjs:396
↓ 8 callers
Function
createCenterBodyFake
* Mirrors the devindex shape: 3 locked-start columns precede the center region, so every * center column's global index is local index + 3.
test/playwright/unit/grid/BodyCellMapping.spec.mjs:25
↓ 8 callers
Function
createLogger
(aiConfig = {}, fallbackLoggerConfig = {})
ai/mcp/server/shared/logger.mjs:119
↓ 8 callers
Function
createTestHandoff
(filename, content)
test/playwright/unit/ai/AgentOrchestrator.spec.mjs:8
↓ 8 callers
Method
draw
* The core rendering method. * Handles: * 1. **Geometry Calculation:** Caches point coordinates and path lengths for consistent speed.
src/canvas/Sparkline.mjs:412
↓ 8 callers
Function
exec
(cmd, args)
test/playwright/unit/ai/daemons/wake/instanceResolver.spec.mjs:68
↓ 8 callers
Method
fail
* Builds a failed configured-root result and logs an operator warning. * @param {String} reasonCode Stable failure reason. * @param {Object}
ai/daemons/orchestrator/services/PrimaryRepoSyncService.mjs:872
↓ 8 callers
Method
find
* Overrides collection.Base:find() to ensure the returned item(s) are Record instances. * @param {Object|String} property * @param {String|N
src/data/Store.mjs:672
↓ 8 callers
Function
findTicketRefs
(content)
buildScripts/util/check-ticket-archaeology.mjs:112
↓ 8 callers
Function
getBackoffDelayMs
(backoffBaseMs, attempt)
ai/daemons/embed/drainCycle.mjs:59
↓ 8 callers
Method
getCardContainer
* A convenience method to get the `BodyContainer` instance that holds the tab content cards. * @returns {Neo.container.Base} The body container i
src/tab/Container.mjs:340
↓ 8 callers
Method
getComputedStyle
* @param {Object} data * @param {String} data.id * @param {String|String[]} data.style * @returns {Object}
src/main/DomAccess.mjs:431
↓ 8 callers
Method
getEventData
* @param {Event} event * @returns {Object}
src/main/DomEvents.mjs:278
↓ 8 callers
Method
getIssueById
* @summary Retrieves a GitLab issue markdown file once the syncer subtask lands. * @param {Object} options * @returns {Promise<Object>}
ai/services/gitlab-workflow/LocalFileService.mjs:33
↓ 8 callers
Function
getLockPath
(mode, identity)
ai/scripts/lifecycle/inflightLock.mjs:16
↓ 8 callers
Method
getRowId
* @param {Number} rowIndex * @returns {String}
src/grid/Body.mjs:1175
↓ 8 callers
Method
getSelection
* @returns {Array} this.items
src/selection/Model.mjs:171
↓ 8 callers
Method
getSourceNames
* @returns {Array<String>} Registered source names in insertion order.
ai/services/knowledge-base/source/SourceRegistry.mjs:129
← previous
next →
501–600 of 8,612, ranked by callers