MCPcopy Index your code

hub / github.com/UraniumCorporation/maiar-ai / functions

Functions373 in github.com/UraniumCorporation/maiar-ai

↓ 92 callersMethodlog
(info: any, next: () => void)
packages/core/src/lib/winston/transports/websocket.ts:70
↓ 59 callersMethodrender
(id: string, ctx: T = {} as T)
packages/core/src/runtime/managers/prompt.ts:52
↓ 25 callersMethodgetObject
* Prompt the LLM to generate a JSON object from a prompt * @param schema - The schema of the object to generate in zod format * @param prompt -
packages/core/src/runtime/index.ts:539
↓ 12 callersMethodconnect
()
packages/plugin-terminal/src/scripts/chat.ts:164
↓ 9 callersMethodclose
()
packages/memory-sqlite/src/database.ts:32
↓ 9 callersFunctiondefineCapability
( descriptor: CapabilityDescriptor<I, O, Id, C> )
packages/core/src/runtime/managers/model/capability/descriptor.ts:32
↓ 9 callersMethodupdateMonitoringState
( task: AgentTask, pipelineState?: { pipeline?: PipelineStep[]; relatedMemories?: string;
packages/core/src/runtime/pipeline/processor.ts:512
↓ 8 callersFunctioncolor
(text: string, color: string)
packages/core/src/lib/winston/transports/stdout.ts:12
↓ 8 callersMethodquery
(task: AgentTask)
packages/memory-postgres/src/plugin.ts:159
↓ 7 callersMethodcreateEvent
* Create an event that will be processed by the pipeline processor
packages/core/src/runtime/index.ts:501
↓ 7 callersMethodstop
* Stop the runtime
packages/core/src/runtime/index.ts:390
↓ 6 callersMethodcheckHealth
* Checks the health of the authentication by making a test API call * * @returns Whether the client is authenticated and the token is valid
packages/plugin-x/src/services/x-service.ts:535
↓ 6 callersMethodexecuteCapability
* Execute a capability through the model-manager. * * @typeParam K – Capability identifier literal (key of the `ICapabilities` interface). *
packages/core/src/runtime/index.ts:524
↓ 4 callersMethodcleanup
()
packages/plugin-terminal/src/plugin.ts:228
↓ 4 callersMethodclose
* Gracefully closes all clients *and* the server. * This is called by the Runtime when the server is shutting down.
packages/core/src/lib/winston/transports/websocket.ts:87
↓ 4 callersMethodhasCapability
* Check if any model supports a capability
packages/core/src/runtime/managers/model/index.ts:366
↓ 4 callersMethodstopTypingIndicator
(channelId: string)
packages/plugin-discord/src/services/index.ts:115
↓ 4 callersMethodstoreToken
* Stores the OAuth token * * @param token The token to store
packages/plugin-x/src/services/token-storage.ts:46
↓ 4 callersFunctionuseMonitorState
()
apps/client/src/contexts/MonitorContext.tsx:121
↓ 3 callersMethod_processOpenAIImageData
* Process OpenAI image data, saving images from URLs or base64 and returning file paths. * @param imageData - Array of image data objects from Open
packages/model-openai/src/openai.ts:460
↓ 3 callersMethodauthenticate
* Authenticates the client using stored tokens or the provided code * * @param code Optional authorization code * @returns Whether authentica
packages/plugin-x/src/services/x-service.ts:473
↓ 3 callersFunctioncancelOperation
()
packages/cli/src/index.ts:33
↓ 3 callersFunctionclearCloseTimer
()
apps/client/src/components/MetadataPopover.tsx:40
↓ 3 callersMethodemitQueueState
* Emits a lightweight agent state snapshot containing queue length and running status. * This is consumed by the monitor UI to keep the queue count
packages/core/src/runtime/pipeline/scheduler.ts:47
↓ 3 callersMethodgetInstance
()
packages/memory-sqlite/src/database.ts:18
↓ 3 callersFunctiongetSchemaType
* Helper to get a human-readable type from a Zod schema
packages/core/src/runtime/pipeline/operations.ts:48
↓ 3 callersMethodinit
({ modelProviders, memoryProvider, plugins, capabilityAliases = [], options }: { mod
packages/core/src/runtime/index.ts:87
↓ 3 callersFunctionpromptForInput
* Interactive script that guides you through the complete X API auth flow * * Local development edition - designed for use with localhost callback U
packages/plugin-x/src/scripts/auth-flow.ts:24
↓ 3 callersMethodregisterDirectory
Add a directory of .liquid templates. * Each file becomes an ID: `${namespace}/${fileNameWithoutExt}` (slashes normalised).
packages/core/src/runtime/managers/prompt.ts:33
↓ 3 callersFunctionsetUrl
(newUrl: string)
apps/client/src/contexts/MonitorContext.tsx:104
↓ 3 callersMethodshutdown
()
packages/plugin-x/src/plugin.ts:132
↓ 3 callersMethodstoreMemory
* Store the initial task event in memory * @param {AgentTask} taskEvent - The initial task event
packages/core/src/runtime/managers/memory.ts:97
↓ 2 callersMethodcleanup
()
packages/plugin-terminal/src/scripts/chat.ts:152
↓ 2 callersMethoddequeue
* Removes and returns the first task from the task queue * @returns the first task from the queue or null if the queue is empty
packages/core/src/runtime/pipeline/scheduler.ts:86
↓ 2 callersFunctiondiscordExecutorFactory
( name: string, description: string, execute: ( task: AgentTask, service: DiscordService, ru
packages/plugin-discord/src/executors.ts:22
↓ 2 callersMethodexchangeCodeForToken
* Exchanges an authorization code for an access token * * @param code The authorization code received from the callback * @returns Whether th
packages/plugin-x/src/services/x-service.ts:258
↓ 2 callersMethodexecute
(input: InputType, config?: ConfigType)
packages/core/src/runtime/providers/model.ts:20
↓ 2 callersFunctionformatZodSchema
(schema: z.ZodType<T>)
packages/core/src/runtime/pipeline/operations.ts:13
↓ 2 callersMethodgenerateRandomString
* Generates a random string for OAuth2 state and PKCE
packages/plugin-x/src/services/x-service.ts:218
↓ 2 callersMethodgetAuthHeaders
* Creates authorization headers based on the current authentication
packages/plugin-x/src/services/x-service.ts:112
↓ 2 callersMethodgetDatabase
()
packages/memory-sqlite/src/database.ts:25
↓ 2 callersMethodgetDefaultModelForCapability
* Get the default model for a capability
packages/core/src/runtime/managers/model/capability/registry.ts:46
↓ 2 callersMethodgetInstance
()
packages/memory-postgres/src/database.ts:20
↓ 2 callersFunctiongetMessageMetadata
(message: Message)
packages/plugin-discord/src/triggers.ts:243
↓ 2 callersMethodgetPool
()
packages/memory-postgres/src/database.ts:27
↓ 2 callersMethodgetToken
* Gets the stored OAuth token, if any * * @returns The stored token or null if not found
packages/plugin-x/src/services/token-storage.ts:31
↓ 2 callersFunctionhandleClose
()
apps/client/src/components/ConnectionSettings.tsx:31
↓ 2 callersFunctionhandleSend
()
apps/client/src/components/Chat.tsx:58
↓ 2 callersMethodpostTweet
* Posts a new tweet * * @param options Tweet options * @returns The created tweet data or null if failed
packages/plugin-x/src/services/x-service.ts:551
↓ 2 callersMethodqueryMemory
* Search for related memories based on query and filter options * @param {QueryMemoryOptions} options - The options for the search * @returns {P
packages/core/src/runtime/managers/memory.ts:140
↓ 2 callersMethodrefreshAccessToken
* Requests an access token using the refresh token * * @returns Whether the refresh was successful
packages/plugin-x/src/services/x-service.ts:368
↓ 2 callersMethodregisterCapabilityAlias
* Register a capability alias
packages/core/src/runtime/managers/model/index.ts:165
↓ 2 callersMethodregisterPlugin
(plugin: Plugin)
packages/core/src/runtime/managers/plugin.ts:37
↓ 2 callersMethodregisterRoute
* Register a route handler for the router * @param path - The path of the route * @param method - The HTTP method of the route * @param handl
packages/core/src/runtime/managers/server.ts:44
↓ 2 callersFunctionrenderTimeline
( pipelineSteps: PipelineStep[], isModified: boolean = false )
apps/client/src/components/PipelineSteps.tsx:84
↓ 2 callersFunctionrunAuthFlow
(overrideConfig?: { client_id?: string; client_secret?: string; callback_url?: string; })
packages/plugin-x/src/scripts/auth-flow.ts:38
↓ 2 callersFunctionscheduleClose
()
apps/client/src/components/MetadataPopover.tsx:47
↓ 2 callersMethodsendMessage
(message: string)
packages/plugin-terminal/src/scripts/chat.ts:88
↓ 2 callersMethodstart
* Start the runtime
packages/core/src/runtime/index.ts:337
↓ 2 callersFunctionupdateWidth
()
apps/client/src/components/GridLayout.tsx:211
↓ 2 callersFunctionuseAgentState
()
apps/client/src/contexts/MonitorContext.tsx:128
↓ 2 callersFunctionverifyBasicHealth
( baseUrl: string, modelNameTag: string )
packages/model-ollama/src/index.ts:4
↓ 1 callersMethodattachToServer
* Attaches the transport to an HTTP server instance. Called internally by the Runtime.
packages/core/src/lib/winston/transports/websocket.ts:30
↓ 1 callersMethodbanner
()
packages/core/src/runtime/index.ts:614
↓ 1 callersMethodbase64UrlEncode
* Base64 URL encodes a Buffer
packages/plugin-x/src/services/x-service.ts:244
↓ 1 callersFunctionbuildTransport
( config: ServerConfig )
packages/plugin-mcp/src/transports.ts:28
↓ 1 callersMethodcheckMediaProcessingStatus
* Checks the processing status of an uploaded media
packages/plugin-x/src/services/x-service.ts:879
↓ 1 callersMethodcleanTypingIntervals
()
packages/plugin-discord/src/services/index.ts:123
↓ 1 callersMethodcleanUp
()
packages/plugin-discord/src/services/index.ts:130
↓ 1 callersFunctionclientCommand
( command?: string, serverScriptPath?: string )
packages/plugin-mcp/src/transports.ts:6
↓ 1 callersMethodcreatePipeline
* Generates a tool-based workflow called a pipeline with the available action executors. * This pipeline is the main execution logic for the agent,
packages/core/src/runtime/pipeline/processor.ts:57
↓ 1 callersMethodcreateTable
()
packages/memory-postgres/src/plugin.ts:199
↓ 1 callersMethodcreateTables
()
packages/memory-sqlite/src/provider.ts:65
↓ 1 callersMethodcreateTables
()
packages/memory-postgres/src/provider.ts:72
↓ 1 callersMethodcycle
* Iterates over the queue and runs each task
packages/core/src/runtime/pipeline/scheduler.ts:108
↓ 1 callersFunctiondetectKind
(src: string)
apps/client/src/utils/parseMessage.ts:20
↓ 1 callersMethodenqueue
* Adds a task to the task queue * @param task - the task to add to the queue
packages/core/src/runtime/pipeline/scheduler.ts:68
↓ 1 callersMethodexecute
* Runs a task on the processor * @param task - the task to run
packages/core/src/runtime/pipeline/scheduler.ts:144
↓ 1 callersMethodexecutePipeline
* Consumes a list of pipeline steps and begins orchestrating the workflow to execute and modify tasks * @param pipeline - the pipeline to execute,
packages/core/src/runtime/pipeline/processor.ts:191
↓ 1 callersMethodexecutePipelineStep
* Executes a single step of the pipeline * @param step - the step to execute * @param task - the current task, internally contains the context c
packages/core/src/runtime/pipeline/processor.ts:444
↓ 1 callersFunctionextractEventMetadata
(event: MonitorEvent)
apps/client/src/components/Events.tsx:72
↓ 1 callersMethodextractJson
(str: string)
packages/core/src/runtime/index.ts:631
↓ 1 callersFunctionfetchPlugins
()
apps/website/src/pages/plugins.tsx:125
↓ 1 callersFunctionfetchPrompts
()
apps/client/src/components/PromptList.tsx:29
↓ 1 callersMethodgenerateAuthUrl
* Generates an authentication URL for the user to authorize the application * * @returns The authentication URL
packages/plugin-x/src/services/x-service.ts:190
↓ 1 callersMethodgenerateCodeChallenge
* Generates a PKCE code challenge from a code verifier
packages/plugin-x/src/services/x-service.ts:233
↓ 1 callersMethodgenerateInviteUrl
()
packages/plugin-discord/src/services/index.ts:71
↓ 1 callersMethodgetAllCapabilities
* Get all registered capabilities
packages/core/src/runtime/managers/model/capability/registry.ts:62
↓ 1 callersMethodgetAvailableCapabilities
* Get all available capabilities
packages/core/src/runtime/managers/model/index.ts:340
↓ 1 callersFunctiongetConfig
()
packages/plugin-terminal/src/scripts/chat.ts:9
↓ 1 callersMethodgetPlugin
()
packages/memory-sqlite/src/provider.ts:80
↓ 1 callersFunctiongetSavedUrl
()
apps/client/src/hooks/useChatApi.ts:18
↓ 1 callersMethodhandleInput
(line: string)
packages/plugin-terminal/src/scripts/chat.ts:74
↓ 1 callersFunctionhandleScroll
()
apps/website/src/pages/index.tsx:293
↓ 1 callersFunctionhandleSettingsClose
()
apps/client/src/components/Chat.tsx:48
↓ 1 callersMethodhandleSigInt
()
packages/plugin-terminal/src/scripts/chat.ts:62
↓ 1 callersMethodinit
()
packages/memory-sqlite/src/provider.ts:31
↓ 1 callersMethodinit
()
packages/memory-postgres/src/provider.ts:27
↓ 1 callersMethodinit
()
apps/starter/src/lib/plugins/plugin-permissions-search/index.ts:38
↓ 1 callersMethodinitializeStorage
()
packages/memory-sqlite/src/provider.ts:57
next →1–100 of 373, ranked by callers