Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Conway-Research/automaton
/ functions
Functions
1,371 in github.com/Conway-Research/automaton
⨍
Functions
1,371
◇
Types & classes
301
↓ 2 callers
Method
refreshFromApi
* Refresh registry from Conway /v1/models API response.
src/inference/registry.ts:137
↓ 2 callers
Function
releaseTaskLease
(db: DatabaseType, taskName: string, owner: string)
src/state/database.ts:1300
↓ 2 callers
Function
removeSkill
(name: string)
src/state/database.ts:375
↓ 2 callers
Function
requiredNonNegativeInteger
(value: unknown, path: string)
src/orchestration/planner.ts:644
↓ 2 callers
Function
requiredStringArray
(value: unknown, path: string)
src/orchestration/planner.ts:631
↓ 2 callers
Function
resolveAndValidatePath
* 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 callers
Function
resolveLocalPath
(filePath: string)
src/conway/client.ts:165
↓ 2 callers
Method
resolveOutputPath
(filename: string)
src/orchestration/workspace.ts:155
↓ 2 callers
Function
runSetupWizard
()
src/setup/wizard.ts:23
↓ 2 callers
Function
safeJsonParse
(value: string)
src/orchestration/plan-mode.ts:369
↓ 2 callers
Function
safeJsonParse
(value: string)
src/conway/x402.ts:75
↓ 2 callers
Method
safePruneKnowledgeStore
()
src/memory/ingestion.ts:372
↓ 2 callers
Function
sanitizeExecutionState
(value: unknown, fallback: ExecutionState)
src/orchestration/plan-mode.ts:317
↓ 2 callers
Function
sanitizeSoul
(soul: SoulModel)
src/soul/validator.ts:153
↓ 2 callers
Method
sanitizeText
(value: string, maxChars: number)
src/memory/context-manager.ts:512
↓ 2 callers
Method
saveState
(state: OrchestratorState)
src/orchestration/orchestrator.ts:976
↓ 2 callers
Method
selectRetainedTurnWindow
(turnEvents: StreamEvent[], keepN: number)
src/memory/compression-engine.ts:730
↓ 2 callers
Function
selectSandboxTier
Find the smallest valid tier that has at least the requested memory.
src/replication/spawn.ts:31
↓ 2 callers
Method
sendShutdownRequest
(address: string, reason: string)
src/orchestration/health-monitor.ts:469
↓ 2 callers
Function
serializeAgentCard
(card: AgentCard)
src/registry/agent-card.ts:63
↓ 2 callers
Method
setRegistryEntry
(entry: RegistryEntry)
src/types.ts:661
↓ 2 callers
Function
sha256
* Compute SHA-256 hash of content.
src/replication/constitution.ts:17
↓ 2 callers
Function
toErrorMessage
(error: unknown)
src/orchestration/plan-mode.ts:442
↓ 2 callers
Function
toNonNegativeInteger
(value: unknown, fallback: number)
src/orchestration/plan-mode.ts:435
↓ 2 callers
Function
tokenize
(text: string)
src/soul/model.ts:38
↓ 2 callers
Function
topupForSandbox
(params: { apiUrl: string; account: PrivateKeyAccount; error: Error & { status?: number; responseText?:
src/conway/topup.ts:80
↓ 2 callers
Function
unblockReadyBlockedTasks
(db: Database)
src/orchestration/task-graph.ts:618
↓ 2 callers
Function
uniqueStrings
(values: string[])
src/orchestration/task-graph.ts:660
↓ 2 callers
Method
unwrapError
(error: unknown)
src/inference/inference-client.ts:467
↓ 2 callers
Method
upsert
* Insert or update a model entry.
src/inference/registry.ts:107
↓ 2 callers
Function
upsertHeartbeatSchedule
(db: DatabaseType, row: HeartbeatScheduleRow)
src/state/database.ts:1234
↓ 2 callers
Function
validateMessage
(message: unknown)
src/orchestration/messaging.ts:426
↓ 2 callers
Function
verifyMessageSignature
( message: { to: string; content: string; signed_at: string; signature: string }, expectedFrom: string, )
src/social/protocol.ts:51
↓ 2 callers
Function
viewSoul
( db: BetterSqlite3.Database, soulPath?: string, )
src/soul/tools.ts:122
↓ 2 callers
Function
viewSoulHistory
( db: BetterSqlite3.Database, limit?: number, )
src/soul/tools.ts:134
↓ 2 callers
Function
writeFile
( filePath: string, content: string, )
src/conway/client.ts:170
↓ 2 callers
Function
x402Fetch
( url: string, account: PrivateKeyAccount, method: string = "GET", body?: string, headers?: Record<s
src/conway/x402.ts:266
↓ 1 callers
Function
_resetRateLimits
()
src/agent/injection-defense.ts:57
↓ 1 callers
Method
acquireLease
* Acquire a lease for a task.
src/heartbeat/scheduler.ts:231
↓ 1 callers
Method
addDnsRecord
( domain: string, type: string, host: string, value: string, ttl?: number, )
src/types.ts:374
↓ 1 callers
Method
addRule
(rule: AlertRule)
src/observability/alerts.ts:108
↓ 1 callers
Function
agentCacheGetValid
(db: DatabaseType)
src/state/database.ts:2401
↓ 1 callers
Function
agentCachePrune
(db: DatabaseType)
src/state/database.ts:2408
↓ 1 callers
Function
appendEventAt
(params: { createdAt: string; type?: string; content?: string; goalId?: string | null; taskId?: stri
src/__tests__/memory/compression-engine.test.ts:33
↓ 1 callers
Function
applyMigrations
(db: DatabaseType)
src/state/database.ts:567
↓ 1 callers
Method
applySurvivalTier
(tier: ModelTier, survivalMode: boolean)
src/inference/provider-registry.ts:477
↓ 1 callers
Function
asExecutionPhase
(value: unknown)
src/orchestration/plan-mode.ts:349
↓ 1 callers
Function
asPhase
(value: unknown)
src/orchestration/orchestrator.ts:1201
↓ 1 callers
Function
askBool
Prompt for a boolean. Enter = keep current.
src/setup/configure.ts:73
↓ 1 callers
Function
askChoice
Prompt for a choice from a fixed set.
src/setup/configure.ts:86
↓ 1 callers
Method
assertEmergencyPolicy
()
src/inference/provider-registry.ts:493
↓ 1 callers
Function
blockDependentsForFailedTask
(db: Database, failedTaskId: string)
src/orchestration/task-graph.ts:605
↓ 1 callers
Method
buildChatCompletionRequest
(modelId: string, params: SharedChatParams)
src/inference/inference-client.ts:274
↓ 1 callers
Method
buildFactKey
(signal: MarketSignal)
src/memory/ingestion.ts:317
↓ 1 callers
Function
buildHeuristicSummary
(events: StreamEvent[])
src/memory/compression-engine.ts:844
↓ 1 callers
Function
buildLocalReferenceMap
( plannedTasks: { localId: string; index: number; task: DecomposeTaskInput }[], titleCounts: Map<string, n
src/orchestration/task-graph.ts:674
↓ 1 callers
Function
buildReference
(row: { id: string; type: string; createdAt: string; })
src/memory/event-stream.ts:188
↓ 1 callers
Function
buildSummary
(row: { type: string; content: string; })
src/memory/event-stream.ts:196
↓ 1 callers
Method
buildTaskPrompt
(task: TaskNode)
src/orchestration/local-worker.ts:301
↓ 1 callers
Method
buildToolPairRanges
(events: StreamEvent[])
src/memory/compression-engine.ts:746
↓ 1 callers
Function
buildWakeupPrompt
(params: { identity: AutomatonIdentity; config: AutomatonConfig; financial: FinancialState; db: Automa
src/agent/system-prompt.ts:766
↓ 1 callers
Method
buildWorkerSystemPrompt
(task: TaskNode)
src/orchestration/local-worker.ts:282
↓ 1 callers
Method
buildWorkerTools
()
src/orchestration/local-worker.ts:319
↓ 1 callers
Function
canonicalizePayload
(payload: Record<string, string>)
src/conway/client.ts:90
↓ 1 callers
Function
categoriesFromRole
(agentRole?: string)
src/memory/enhanced-retriever.ts:498
↓ 1 callers
Function
categoriesFromText
(text: string)
src/memory/enhanced-retriever.ts:521
↓ 1 callers
Function
categoryMatchScore
( category: KnowledgeCategory, categories: KnowledgeCategory[], )
src/memory/enhanced-retriever.ts:490
↓ 1 callers
Function
chatViaAnthropic
(params: { model: string; tokenLimit: number; messages: ChatMessage[]; tools?: InferenceToolDefinition
src/conway/inference.ts:256
↓ 1 callers
Function
chatViaOpenAiCompatible
(params: { model: string; body: Record<string, unknown>; apiUrl: string; apiKey: string; backend: "c
src/conway/inference.ts:190
↓ 1 callers
Method
checkChildHealth
( child: ChildAutomaton, nowIso: string, )
src/orchestration/health-monitor.ts:137
↓ 1 callers
Function
checkRateLimit
()
src/social/client.ts:41
↓ 1 callers
Function
checkRateLimit
(source: string)
src/agent/injection-defense.ts:39
↓ 1 callers
Function
checkReplayNonce
(nonce: string)
src/social/client.ts:55
↓ 1 callers
Function
checkRequirements
* Check if a skill's requirements are met. * Uses execFileSync with argument arrays to prevent shell injection.
src/skills/loader.ts:97
↓ 1 callers
Function
checkpointWAL
(db: DatabaseType)
src/state/database.ts:640
↓ 1 callers
Function
clampNumber
(value: number, min: number, max: number)
src/memory/enhanced-retriever.ts:726
↓ 1 callers
Function
clampPriority
(priority: number, fallbackIndex: number)
src/orchestration/orchestrator.ts:1126
↓ 1 callers
Function
clampSteps
(value: number)
src/orchestration/orchestrator.ts:1142
↓ 1 callers
Method
classifyComplexity
(goal: GoalRow)
src/orchestration/orchestrator.ts:788
↓ 1 callers
Method
classifySignalTypes
(fragment: string)
src/memory/ingestion.ts:454
↓ 1 callers
Method
cleanupAll
* Clean up all stopped and failed children.
src/replication/cleanup.ts:47
↓ 1 callers
Method
cleanupStale
* Clean up children that have been in stopped/failed state for too long.
src/replication/cleanup.ts:67
↓ 1 callers
Method
clearAlert
(ruleName: string)
src/observability/alerts.ts:152
↓ 1 callers
Method
clearExpired
* Clear all expired entries across all sessions. * Returns number of entries removed.
src/memory/working.ts:149
↓ 1 callers
Method
collectActiveTasksAndGoals
(events: StreamEvent[])
src/memory/compression-engine.ts:662
↓ 1 callers
Function
collectFiles
(directory: string)
src/orchestration/workspace.ts:200
↓ 1 callers
Method
collectKnowledgeCandidates
(query: EnhancedQuery)
src/memory/enhanced-retriever.ts:313
↓ 1 callers
Method
computeScoringFactors
( entry: KnowledgeEntry, query: EnhancedQuery, params: { currentInput?: string; curren
src/memory/enhanced-retriever.ts:365
↓ 1 callers
Function
computeThreatLevel
(checks: InjectionCheck[])
src/agent/injection-defense.ts:463
↓ 1 callers
Function
configureGeneral
(config: AutomatonConfig)
src/setup/configure.ts:295
↓ 1 callers
Function
configureModelStrategy
(config: AutomatonConfig)
src/setup/configure.ts:215
↓ 1 callers
Function
configureProviders
(config: AutomatonConfig)
src/setup/configure.ts:197
↓ 1 callers
Function
configureTreasury
(config: AutomatonConfig)
src/setup/configure.ts:269
↓ 1 callers
Method
consumeStreamResponse
(stream: AsyncIterable<any>)
src/inference/inference-client.ts:309
↓ 1 callers
Function
countTokens
(text: string, model?: string)
src/memory/context-manager.ts:141
↓ 1 callers
Function
countTokens
(text: string)
src/__tests__/memory/context-manager.test.ts:12
↓ 1 callers
Function
createAddressFormatRule
* Validate Ethereum address format.
src/agent/policy-rules/validation.ts:163
↓ 1 callers
Function
createAllowRule
(id: string, appliesTo: PolicyRule["appliesTo"], priority = 100)
src/__tests__/policy-engine.test.ts:136
↓ 1 callers
Function
createConfig
(params: { name: string; genesisPrompt: string; creatorMessage?: string; creatorAddress: Address; re
src/config.ts:112
↓ 1 callers
Function
createCronExpressionRule
* Validate cron expression structure.
src/agent/policy-rules/validation.ts:135
← previous
next →
601–700 of 1,371, ranked by callers