MCPcopy Create free account

hub / github.com/Conway-Research/automaton / functions

Functions1,371 in github.com/Conway-Research/automaton

↓ 232 callersMethodget
* Get a single model by ID.
src/inference/registry.ts:85
↓ 157 callersMethodevaluate
(request: PolicyRequest)
src/types.ts:495
↓ 136 callersMethoderror
(message: string, context?: Record<string, unknown>)
src/__tests__/mocks.ts:299
↓ 127 callersMethodtransition
* Transition a child to a new state with validation. * Throws on invalid transitions.
src/replication/lifecycle.ts:51
↓ 108 callersMethodexec
(command: string, timeout?: number)
src/types.ts:345
↓ 97 callersMethodclose
()
src/types.ts:682
↓ 68 callersMethodsetKV
(key: string, value: string)
src/types.ts:644
↓ 60 callersFunctionsanitizeInput
( raw: string, source: string, mode: SanitizationMode = "social_message", )
src/agent/injection-defense.ts:131
↓ 56 callersFunctioncreateGoal
( db: Database, title: string, description: string, strategy?: string, )
src/orchestration/task-graph.ts:86
↓ 53 callersMethodinfo
(message: string, context?: Record<string, unknown>)
src/__tests__/mocks.ts:291
↓ 52 callersMethodexecute
(plan: CompressionPlan)
src/memory/compression-engine.ts:194
↓ 52 callersMethodgetKV
(key: string)
src/types.ts:643
↓ 49 callersFunctioninsertTask
(db: BetterSqlite3.Database, overrides: { id?: string; goalId: string; title?: string; description?: s
src/__tests__/orchestration/orchestrator.test.ts:120
↓ 48 callersFunctioncreateLogger
(module: string)
src/observability/logger.ts:115
↓ 47 callersFunctioncreateTestConfig
( overrides?: Partial<AutomatonConfig>, )
src/__tests__/mocks.ts:332
↓ 45 callersMethodadd
* Add a new working memory entry. Returns the ULID id.
src/memory/working.ts:23
↓ 45 callersFunctioncreateTestIdentity
()
src/__tests__/mocks.ts:320
↓ 44 callersFunctionmakeTurn
(index: number)
src/__tests__/memory/context-manager.test.ts:27
↓ 42 callersMethodrequest
( url: string, options?: RequestInit & { timeout?: number; idempotencyKey?: string;
src/conway/http-client.ts:31
↓ 41 callersMethodchat
(params: { tier: string; messages: any[]; tools?: any[]; toolChoice?: string; maxTokens?:
src/orchestration/local-worker.ts:58
↓ 37 callersFunctionisProtectedFile
(filePath: string)
src/self-mod/code.ts:158
↓ 36 callersFunctiondecomposeGoal
( db: Database, goalId: string, tasks: Omit<TaskNode, "id" | "metadata">[], )
src/orchestration/task-graph.ts:117
↓ 35 callersFunctiongetTasksByGoal
(db: DatabaseType, goalId: string)
src/state/database.ts:1000
↓ 35 callersMethodtick
* Called on interval -- guards against overlap.
src/heartbeat/scheduler.ts:84
↓ 34 callersFunctionappendAt
(params: { type?: EventType; agentAddress?: string; goalId?: string | null; taskId?: string | null;
src/__tests__/memory/event-stream.test.ts:22
↓ 34 callersFunctionmakeTask
(goalId: string, title: string, overrides: Partial<DecomposeInput> = {})
src/__tests__/integration/multi-agent-coordination.test.ts:27
↓ 32 callersFunctionaddKnowledge
(params?: { category?: KnowledgeCategory; key?: string; content?: string; source?: string; confidenc
src/__tests__/memory/knowledge-store.test.ts:21
↓ 32 callersMethodwarn
(message: string, context?: Record<string, unknown>)
src/__tests__/mocks.ts:295
↓ 31 callersFunctioninsertTestMessage
(db: AutomatonDatabase, id: string, from = "0xsender")
src/__tests__/inbox-processing.test.ts:29
↓ 31 callersFunctionmakeTask
( goalId: string, title: string, overrides: Partial<DecomposeTaskInput> = {}, )
src/__tests__/orchestration/task-graph.test.ts:35
↓ 30 callersFunctionclaimInboxMessages
(db: DatabaseType, limit: number)
src/state/database.ts:1383
↓ 30 callersFunctionmakeRequest
( toolName: string, args: Record<string, unknown>, category = "vm", riskLevel: RiskLevel = "caution",
src/__tests__/command-injection.test.ts:40
↓ 29 callersMethodinitChild
* Initialize a child record and insert the first lifecycle event.
src/replication/lifecycle.ts:26
↓ 29 callersFunctionmakeUpdate
(overrides: Partial<AgentStatusUpdate> = {})
src/__tests__/memory/agent-context-aggregator.test.ts:7
↓ 28 callersFunctioncreateMockTool
(overrides: Partial<AutomatonTool> = {})
src/__tests__/authority-rules.test.ts:99
↓ 28 callersFunctioncreateRequest
( tool: AutomatonTool, args: Record<string, unknown>, inputSource: InputSource | undefined, rawDb?: Da
src/__tests__/authority-rules.test.ts:121
↓ 28 callersFunctioninsertGoal
(db: BetterSqlite3.Database, overrides: { id?: string; title?: string; description?: string; status?:
src/__tests__/orchestration/orchestrator.test.ts:101
↓ 27 callersFunctiongetTaskById
(db: DatabaseType, id: string)
src/state/database.ts:956
↓ 27 callersMethodrecord
* Record a new episodic memory entry. Returns the ULID id.
src/memory/episodic.ts:23
↓ 26 callersFunctionmakeOrchestrator
( db: BetterSqlite3.Database, overrides: { agentTracker?: AgentTracker; funding?: FundingProtocol;
src/__tests__/orchestration/orchestrator.test.ts:73
↓ 26 callersFunctionmakeProvider
Build a minimal enabled provider with models for all three tiers.
src/__tests__/integration/inference-failover.test.ts:52
↓ 26 callersMethodrecordSpend
(entry: SpendEntry)
src/types.ts:530
↓ 25 callersFunctioncreateDatabase
(dbPath: string)
src/state/database.ts:77
↓ 25 callersMethodgetCurrentState
* Get the current lifecycle state of a child.
src/replication/lifecycle.ts:78
↓ 25 callersMethodsearch
* Search episodic memory by summary/detail content using LIKE-based matching.
src/memory/episodic.ts:75
↓ 25 callersMethodstore
* Store a semantic memory entry. Upserts on (category, key). * Returns the ULID id.
src/memory/semantic.ts:24
↓ 24 callersFunctionestimateTokens
(text: string)
src/memory/event-stream.ts:53
↓ 24 callersFunctionlog
(_config: AutomatonConfig, message: string)
src/agent/loop.ts:1012
↓ 23 callersFunctioncreateRegistryFromDefaults
()
src/__tests__/inference/provider-registry.test.ts:45
↓ 23 callersMethodwarn
(message: string, context?: Record<string, unknown>)
src/observability/logger.ts:40
↓ 22 callersMethodretrieveScored
(params: { sessionId: string; currentInput?: string; currentTaskId?: string; currentGoalId?: s
src/memory/enhanced-retriever.ts:223
↓ 22 callersFunctionrunAgentLoop
( options: AgentLoopOptions, )
src/agent/loop.ts:94
↓ 22 callersMethodsetState
(state: Partial<ExecutionState>)
src/orchestration/plan-mode.ts:114
↓ 21 callersFunctioncreateClient
(registry = createDefaultRegistry())
src/__tests__/inference/inference-client.test.ts:49
↓ 21 callersFunctioncreateTestDb
()
src/__tests__/mocks.ts:314
↓ 21 callersFunctiongetGoalById
(db: DatabaseType, id: string)
src/state/database.ts:881
↓ 21 callersFunctionqueueError
(status: number, message = `HTTP ${status}`)
src/__tests__/inference/inference-client.test.ts:87
↓ 21 callersFunctionseedInferenceEvents
(count: number)
src/__tests__/memory/compression-engine.test.ts:55
↓ 20 callersFunctioncreateRequest
( tool: AutomatonTool, args: Record<string, unknown>, spendTracker: SpendTrackerInterface, turnToolCal
src/__tests__/financial.test.ts:113
↓ 20 callersFunctionfixedTokenCounter
(tokensPerMessage: number)
src/__tests__/memory/context-manager.test.ts:9
↓ 20 callersMethodgetAgentState
()
src/types.ts:676
↓ 20 callersFunctionisInternalNetwork
(hostname: string)
src/registry/discovery.ts:34
↓ 19 callersFunctioncompleteTask
(db: Database, taskId: string, result: TaskResult)
src/orchestration/task-graph.ts:260
↓ 19 callersFunctioncreateBuiltinTools
(sandboxId: string)
src/agent/tools.ts:85
↓ 19 callersFunctioncreateGoalWithTasks
(params: { title: string; createdAt?: string; status?: "active" | "completed" | "failed" | "paused
src/__tests__/orchestration/attention.test.ts:19
↓ 19 callersFunctioncreateMockTickContext
(db: AutomatonDatabase, overrides?: Partial<TickContext>)
src/__tests__/heartbeat.test.ts:19
↓ 19 callersFunctioncreateTestDb
(options?: { address?: string; recipients?: string[] })
src/__tests__/orchestration/messaging.test.ts:13
↓ 19 callersFunctionescapeShellArg
(arg: string)
src/git/tools.ts:219
↓ 19 callersMethodgetState
()
src/orchestration/plan-mode.ts:96
↓ 19 callersFunctionvalidatePlannerOutput
(output: unknown)
src/orchestration/planner.ts:389
↓ 18 callersMethodassembleContext
(params: ContextAssemblyParams)
src/memory/context-manager.ts:192
↓ 18 callersFunctiongenerateTodoMd
(db: Database.Database)
src/orchestration/attention.ts:47
↓ 18 callersFunctionmakeToolCallResult
(overrides: Partial<ToolCallResult> = {})
src/__tests__/memory.test.ts:52
↓ 18 callersFunctionqueueError
Push an HTTP error response onto the mock queue.
src/__tests__/integration/inference-failover.test.ts:133
↓ 18 callersMethodsetAgentState
(state: AgentState)
src/types.ts:677
↓ 17 callersFunctioncreateHash
(content: string)
src/soul/model.ts:22
↓ 17 callersFunctionestimateTokens
(text: string)
src/agent/context.ts:36
↓ 17 callersMethodget
* Get a specific semantic memory by category and key.
src/memory/semantic.ts:68
↓ 17 callersMethodinitialize
* Upsert the static model baseline into the registry on every startup. * New models are added, existing models get updated pricing/capabilities,
src/inference/registry.ts:41
↓ 17 callersFunctionmakeClient
(registry: ProviderRegistry)
src/__tests__/integration/inference-failover.test.ts:116
↓ 17 callersFunctionmakeMockRequest
( toolName: string, args: Record<string, unknown>, )
src/__tests__/path-protection.test.ts:31
↓ 17 callersFunctionmatchesAny
(value: string | undefined, patterns: string[])
src/memory/agent-context-aggregator.ts:262
↓ 17 callersFunctionmockResponse
( status: number, body: unknown = {}, headers: Record<string, string> = {}, )
src/__tests__/http-client.test.ts:18
↓ 17 callersFunctionnoToolResponse
(text = "")
src/__tests__/mocks.ts:69
↓ 17 callersMethodresolveModel
(tier: ModelTier, survivalMode = false)
src/inference/provider-registry.ts:307
↓ 16 callersFunctioncontainsInjectionPatterns
(text: string)
src/soul/validator.ts:68
↓ 16 callersFunctioncreateMockSpendTracker
()
src/__tests__/policy-engine.test.ts:92
↓ 16 callersFunctionfailTask
(db: Database, taskId: string, error: string, shouldRetry: boolean)
src/orchestration/task-graph.ts:281
↓ 16 callersFunctiongetActiveSkillInstructions
(skills: Skill[])
src/skills/loader.ts:158
↓ 16 callersMethodgetBySession
* Get all working memory entries for a session, ordered by priority descending.
src/memory/working.ts:56
↓ 16 callersFunctionisAllowedUri
(uri: string)
src/registry/discovery.ts:53
↓ 16 callersFunctionmakeRegistry
Build a registry with the given providers and explicit tier preference order.
src/__tests__/integration/inference-failover.test.ts:106
↓ 16 callersFunctionmakeSkill
(overrides: Partial<Skill> = {})
src/__tests__/skills-hardening.test.ts:21
↓ 16 callersFunctionshouldReplan
(state: ExecutionState, trigger: ReplanTrigger)
src/orchestration/plan-mode.ts:275
↓ 16 callersFunctionvalidOutput
(overrides: Record<string, unknown> = {})
src/__tests__/orchestration/planner.test.ts:15
↓ 16 callersFunctionvalidateAgentCard
(data: unknown)
src/registry/discovery.ts:77
↓ 16 callersMethodwriteFile
(path: string, content: string)
src/types.ts:346
↓ 15 callersMethodchatDirect
(params: UnifiedChatDirectParams)
src/inference/inference-client.ts:150
↓ 15 callersFunctioncreateAuthorityRules
()
src/agent/policy-rules/authority.ts:125
↓ 15 callersFunctioncreateMockSpendTracker
()
src/__tests__/financial.test.ts:131
next →1–100 of 1,371, ranked by callers