MCPcopy Create free account

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

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

↓ 2 callersMethodrefreshFromApi
* Refresh registry from Conway /v1/models API response.
src/inference/registry.ts:137
↓ 2 callersFunctionreleaseTaskLease
(db: DatabaseType, taskName: string, owner: string)
src/state/database.ts:1300
↓ 2 callersFunctionremoveSkill
(name: string)
src/state/database.ts:375
↓ 2 callersFunctionrequiredNonNegativeInteger
(value: unknown, path: string)
src/orchestration/planner.ts:644
↓ 2 callersFunctionrequiredStringArray
(value: unknown, path: string)
src/orchestration/planner.ts:631
↓ 2 callersFunctionresolveAndValidatePath
* Resolve a file path, following symlinks, to prevent traversal attacks. * Returns null if the path cannot be resolved or is suspicious.
src/self-mod/code.ts:123
↓ 2 callersFunctionresolveLocalPath
(filePath: string)
src/conway/client.ts:165
↓ 2 callersMethodresolveOutputPath
(filename: string)
src/orchestration/workspace.ts:155
↓ 2 callersFunctionrunSetupWizard
()
src/setup/wizard.ts:23
↓ 2 callersFunctionsafeJsonParse
(value: string)
src/orchestration/plan-mode.ts:369
↓ 2 callersFunctionsafeJsonParse
(value: string)
src/conway/x402.ts:75
↓ 2 callersMethodsafePruneKnowledgeStore
()
src/memory/ingestion.ts:372
↓ 2 callersFunctionsanitizeExecutionState
(value: unknown, fallback: ExecutionState)
src/orchestration/plan-mode.ts:317
↓ 2 callersFunctionsanitizeSoul
(soul: SoulModel)
src/soul/validator.ts:153
↓ 2 callersMethodsanitizeText
(value: string, maxChars: number)
src/memory/context-manager.ts:512
↓ 2 callersMethodsaveState
(state: OrchestratorState)
src/orchestration/orchestrator.ts:976
↓ 2 callersMethodselectRetainedTurnWindow
(turnEvents: StreamEvent[], keepN: number)
src/memory/compression-engine.ts:730
↓ 2 callersFunctionselectSandboxTier
Find the smallest valid tier that has at least the requested memory.
src/replication/spawn.ts:31
↓ 2 callersMethodsendShutdownRequest
(address: string, reason: string)
src/orchestration/health-monitor.ts:469
↓ 2 callersFunctionserializeAgentCard
(card: AgentCard)
src/registry/agent-card.ts:63
↓ 2 callersMethodsetRegistryEntry
(entry: RegistryEntry)
src/types.ts:661
↓ 2 callersFunctionsha256
* Compute SHA-256 hash of content.
src/replication/constitution.ts:17
↓ 2 callersFunctiontoErrorMessage
(error: unknown)
src/orchestration/plan-mode.ts:442
↓ 2 callersFunctiontoNonNegativeInteger
(value: unknown, fallback: number)
src/orchestration/plan-mode.ts:435
↓ 2 callersFunctiontokenize
(text: string)
src/soul/model.ts:38
↓ 2 callersFunctiontopupForSandbox
(params: { apiUrl: string; account: PrivateKeyAccount; error: Error & { status?: number; responseText?:
src/conway/topup.ts:80
↓ 2 callersFunctionunblockReadyBlockedTasks
(db: Database)
src/orchestration/task-graph.ts:618
↓ 2 callersFunctionuniqueStrings
(values: string[])
src/orchestration/task-graph.ts:660
↓ 2 callersMethodunwrapError
(error: unknown)
src/inference/inference-client.ts:467
↓ 2 callersMethodupsert
* Insert or update a model entry.
src/inference/registry.ts:107
↓ 2 callersFunctionupsertHeartbeatSchedule
(db: DatabaseType, row: HeartbeatScheduleRow)
src/state/database.ts:1234
↓ 2 callersFunctionvalidateMessage
(message: unknown)
src/orchestration/messaging.ts:426
↓ 2 callersFunctionverifyMessageSignature
( message: { to: string; content: string; signed_at: string; signature: string }, expectedFrom: string, )
src/social/protocol.ts:51
↓ 2 callersFunctionviewSoul
( db: BetterSqlite3.Database, soulPath?: string, )
src/soul/tools.ts:122
↓ 2 callersFunctionviewSoulHistory
( db: BetterSqlite3.Database, limit?: number, )
src/soul/tools.ts:134
↓ 2 callersFunctionwriteFile
( filePath: string, content: string, )
src/conway/client.ts:170
↓ 2 callersFunctionx402Fetch
( url: string, account: PrivateKeyAccount, method: string = "GET", body?: string, headers?: Record<s
src/conway/x402.ts:266
↓ 1 callersFunction_resetRateLimits
()
src/agent/injection-defense.ts:57
↓ 1 callersMethodacquireLease
* Acquire a lease for a task.
src/heartbeat/scheduler.ts:231
↓ 1 callersMethodaddDnsRecord
( domain: string, type: string, host: string, value: string, ttl?: number, )
src/types.ts:374
↓ 1 callersMethodaddRule
(rule: AlertRule)
src/observability/alerts.ts:108
↓ 1 callersFunctionagentCacheGetValid
(db: DatabaseType)
src/state/database.ts:2401
↓ 1 callersFunctionagentCachePrune
(db: DatabaseType)
src/state/database.ts:2408
↓ 1 callersFunctionappendEventAt
(params: { createdAt: string; type?: string; content?: string; goalId?: string | null; taskId?: stri
src/__tests__/memory/compression-engine.test.ts:33
↓ 1 callersFunctionapplyMigrations
(db: DatabaseType)
src/state/database.ts:567
↓ 1 callersMethodapplySurvivalTier
(tier: ModelTier, survivalMode: boolean)
src/inference/provider-registry.ts:477
↓ 1 callersFunctionasExecutionPhase
(value: unknown)
src/orchestration/plan-mode.ts:349
↓ 1 callersFunctionasPhase
(value: unknown)
src/orchestration/orchestrator.ts:1201
↓ 1 callersFunctionaskBool
Prompt for a boolean. Enter = keep current.
src/setup/configure.ts:73
↓ 1 callersFunctionaskChoice
Prompt for a choice from a fixed set.
src/setup/configure.ts:86
↓ 1 callersMethodassertEmergencyPolicy
()
src/inference/provider-registry.ts:493
↓ 1 callersFunctionblockDependentsForFailedTask
(db: Database, failedTaskId: string)
src/orchestration/task-graph.ts:605
↓ 1 callersMethodbuildChatCompletionRequest
(modelId: string, params: SharedChatParams)
src/inference/inference-client.ts:274
↓ 1 callersMethodbuildFactKey
(signal: MarketSignal)
src/memory/ingestion.ts:317
↓ 1 callersFunctionbuildHeuristicSummary
(events: StreamEvent[])
src/memory/compression-engine.ts:844
↓ 1 callersFunctionbuildLocalReferenceMap
( plannedTasks: { localId: string; index: number; task: DecomposeTaskInput }[], titleCounts: Map<string, n
src/orchestration/task-graph.ts:674
↓ 1 callersFunctionbuildReference
(row: { id: string; type: string; createdAt: string; })
src/memory/event-stream.ts:188
↓ 1 callersFunctionbuildSummary
(row: { type: string; content: string; })
src/memory/event-stream.ts:196
↓ 1 callersMethodbuildTaskPrompt
(task: TaskNode)
src/orchestration/local-worker.ts:301
↓ 1 callersMethodbuildToolPairRanges
(events: StreamEvent[])
src/memory/compression-engine.ts:746
↓ 1 callersFunctionbuildWakeupPrompt
(params: { identity: AutomatonIdentity; config: AutomatonConfig; financial: FinancialState; db: Automa
src/agent/system-prompt.ts:766
↓ 1 callersMethodbuildWorkerSystemPrompt
(task: TaskNode)
src/orchestration/local-worker.ts:282
↓ 1 callersMethodbuildWorkerTools
()
src/orchestration/local-worker.ts:319
↓ 1 callersFunctioncanonicalizePayload
(payload: Record<string, string>)
src/conway/client.ts:90
↓ 1 callersFunctioncategoriesFromRole
(agentRole?: string)
src/memory/enhanced-retriever.ts:498
↓ 1 callersFunctioncategoriesFromText
(text: string)
src/memory/enhanced-retriever.ts:521
↓ 1 callersFunctioncategoryMatchScore
( category: KnowledgeCategory, categories: KnowledgeCategory[], )
src/memory/enhanced-retriever.ts:490
↓ 1 callersFunctionchatViaAnthropic
(params: { model: string; tokenLimit: number; messages: ChatMessage[]; tools?: InferenceToolDefinition
src/conway/inference.ts:256
↓ 1 callersFunctionchatViaOpenAiCompatible
(params: { model: string; body: Record<string, unknown>; apiUrl: string; apiKey: string; backend: "c
src/conway/inference.ts:190
↓ 1 callersMethodcheckChildHealth
( child: ChildAutomaton, nowIso: string, )
src/orchestration/health-monitor.ts:137
↓ 1 callersFunctioncheckRateLimit
()
src/social/client.ts:41
↓ 1 callersFunctioncheckRateLimit
(source: string)
src/agent/injection-defense.ts:39
↓ 1 callersFunctioncheckReplayNonce
(nonce: string)
src/social/client.ts:55
↓ 1 callersFunctioncheckRequirements
* Check if a skill's requirements are met. * Uses execFileSync with argument arrays to prevent shell injection.
src/skills/loader.ts:97
↓ 1 callersFunctioncheckpointWAL
(db: DatabaseType)
src/state/database.ts:640
↓ 1 callersFunctionclampNumber
(value: number, min: number, max: number)
src/memory/enhanced-retriever.ts:726
↓ 1 callersFunctionclampPriority
(priority: number, fallbackIndex: number)
src/orchestration/orchestrator.ts:1126
↓ 1 callersFunctionclampSteps
(value: number)
src/orchestration/orchestrator.ts:1142
↓ 1 callersMethodclassifyComplexity
(goal: GoalRow)
src/orchestration/orchestrator.ts:788
↓ 1 callersMethodclassifySignalTypes
(fragment: string)
src/memory/ingestion.ts:454
↓ 1 callersMethodcleanupAll
* Clean up all stopped and failed children.
src/replication/cleanup.ts:47
↓ 1 callersMethodcleanupStale
* Clean up children that have been in stopped/failed state for too long.
src/replication/cleanup.ts:67
↓ 1 callersMethodclearAlert
(ruleName: string)
src/observability/alerts.ts:152
↓ 1 callersMethodclearExpired
* Clear all expired entries across all sessions. * Returns number of entries removed.
src/memory/working.ts:149
↓ 1 callersMethodcollectActiveTasksAndGoals
(events: StreamEvent[])
src/memory/compression-engine.ts:662
↓ 1 callersFunctioncollectFiles
(directory: string)
src/orchestration/workspace.ts:200
↓ 1 callersMethodcollectKnowledgeCandidates
(query: EnhancedQuery)
src/memory/enhanced-retriever.ts:313
↓ 1 callersMethodcomputeScoringFactors
( entry: KnowledgeEntry, query: EnhancedQuery, params: { currentInput?: string; curren
src/memory/enhanced-retriever.ts:365
↓ 1 callersFunctioncomputeThreatLevel
(checks: InjectionCheck[])
src/agent/injection-defense.ts:463
↓ 1 callersFunctionconfigureGeneral
(config: AutomatonConfig)
src/setup/configure.ts:295
↓ 1 callersFunctionconfigureModelStrategy
(config: AutomatonConfig)
src/setup/configure.ts:215
↓ 1 callersFunctionconfigureProviders
(config: AutomatonConfig)
src/setup/configure.ts:197
↓ 1 callersFunctionconfigureTreasury
(config: AutomatonConfig)
src/setup/configure.ts:269
↓ 1 callersMethodconsumeStreamResponse
(stream: AsyncIterable<any>)
src/inference/inference-client.ts:309
↓ 1 callersFunctioncountTokens
(text: string, model?: string)
src/memory/context-manager.ts:141
↓ 1 callersFunctioncountTokens
(text: string)
src/__tests__/memory/context-manager.test.ts:12
↓ 1 callersFunctioncreateAddressFormatRule
* Validate Ethereum address format.
src/agent/policy-rules/validation.ts:163
↓ 1 callersFunctioncreateAllowRule
(id: string, appliesTo: PolicyRule["appliesTo"], priority = 100)
src/__tests__/policy-engine.test.ts:136
↓ 1 callersFunctioncreateConfig
(params: { name: string; genesisPrompt: string; creatorMessage?: string; creatorAddress: Address; re
src/config.ts:112
↓ 1 callersFunctioncreateCronExpressionRule
* Validate cron expression structure.
src/agent/policy-rules/validation.ts:135
← previousnext →601–700 of 1,371, ranked by callers