MCPcopy Create free account

hub / github.com/atripati/ark / functions

Functions715 in github.com/atripati/ark

↓ 2 callersMethodapplyWrite
(op writeOp)
pkg/store/store.go:154
↓ 2 callersFunctionclassifyToolError
(err error)
pkg/runtime/agent.go:1000
↓ 2 callersFunctioncompressToolSchemaWithParams
compressToolSchemaWithParams includes param names so the LLM knows what to pass. This prevents "missing required params" errors on first call.
pkg/context/manager.go:532
↓ 2 callersFunctiondetectCodeLanguage
(code string)
pkg/runtime/verify.go:816
↓ 2 callersMethoddetermineVerdict
(confidence float64, flags []string)
pkg/governor/verifier.go:415
↓ 2 callersMethodevictBlock
(id string)
pkg/context/manager.go:457
↓ 2 callersMethodevictLowestPriority
(bt BlockType, tokensNeeded int)
pkg/context/manager.go:425
↓ 2 callersMethodexecuteSingle
(context, task string, step int, stepType StepType)
pkg/router/router.go:164
↓ 2 callersMethodexecution_context
Build a context string from past experience, ready to inject into an LLM system prompt. This is the key integration point: A
ark-memory/ark_memory/experience.py:373
↓ 2 callersMethodexpandContext
(newPlan, oldPlan *ContextPlan)
pkg/context/engine.go:249
↓ 2 callersMethodexplain_recall
Explain WHY memories were recalled. Shows all scoring signals. For debugging and observability — developers can see exactly w
ark-memory/ark_memory/agent.py:183
↓ 2 callersFunctionextractFuncSignatures
(code string)
pkg/runtime/verify.go:565
↓ 2 callersFunctionextractPattern
(query string)
pkg/context/engine.go:808
↓ 2 callersMethodforget
Forget a specific memory by ID.
ark-memory/ark_memory/agent.py:147
↓ 2 callersMethodforget_namespace
Remove all memories in a namespace.
ark-memory/ark_memory/store.py:347
↓ 2 callersFunctiongenerateRealisticSchema
(server, tool string)
cmd/ark/main.go:365
↓ 2 callersFunctiongetIndent
(line string)
pkg/runtime/quality.go:535
↓ 2 callersMethodheaders
()
pkg/tools/websearch.go:72
↓ 2 callersFunctionindentUnit
(existingIndent string)
pkg/runtime/quality.go:543
↓ 2 callersMethodingest_governor_registry
Ingest from ARK Runtime's governor registry JSON. Extracts model performance stats and tool success rates.
ark-memory/ark_memory/collector.py:196
↓ 2 callersMethodingest_memory_file
Ingest from ARK Runtime's ark-memory.json. Extracts tool usage stats and learned patterns.
ark-memory/ark_memory/collector.py:253
↓ 2 callersMethodingest_router_learning
Ingest from ARK Runtime's router learning JSON. Extracts learned routing rules.
ark-memory/ark_memory/collector.py:300
↓ 2 callersMethodlistDir
(params map[string]interface{})
pkg/tools/filesystem.go:206
↓ 2 callersFunctionmin
(a, b int)
pkg/context/engine.go:1044
↓ 2 callersFunctionmin
(a, b int)
pkg/runtime/agent_test.go:228
↓ 2 callersFunctionparseResponse
(text string)
pkg/runtime/agent.go:1079
↓ 2 callersFunctionparseToolCallLine
(s string)
pkg/runtime/agent.go:1097
↓ 2 callersMethodpersist
(toolID string, stats *ToolStats)
pkg/context/engine.go:711
↓ 2 callersFunctionprintDiff
(label string, before, after []toolScore)
cmd/ark/main.go:1030
↓ 2 callersFunctionproviderEnvVar
(provider string)
pkg/config/config.go:354
↓ 2 callersMethodscoreModelFor
scoreModelFor computes a composite score for how well a model handles a specific context.
pkg/governor/registry.go:282
↓ 2 callersFunctionstripComment
(line string)
pkg/config/config.go:364
↓ 2 callersFunctionstripHTML
(s string)
pkg/tools/websearch.go:244
↓ 2 callersFunctiontruncate
(s string, maxLen int)
pkg/tools/http.go:357
↓ 2 callersFunctionverifyGeneralResponse
(response string)
pkg/runtime/verify.go:944
↓ 2 callersFunctionverifySummaryResponse
(response string)
pkg/runtime/verify.go:919
↓ 2 callersFunctionwordSet
(s string)
pkg/governor/intelligence.go:335
↓ 2 callersMethodwriteFile
(params map[string]interface{})
pkg/tools/filesystem.go:156
↓ 1 callersMethodActiveBlockDetails
()
pkg/context/manager.go:375
↓ 1 callersMethodAddDomain
(domain string)
pkg/tools/http.go:188
↓ 1 callersMethodAvgCostPerTask
()
pkg/cost/cost.go:404
↓ 1 callersFunctionClassifyStep
(step int, isRetry bool, toolCallsCompleted int, hasToolResult bool)
pkg/router/router.go:132
↓ 1 callersMethodClose
Close flushes and closes the event file.
pkg/runtime/events.go:63
↓ 1 callersMethodConfidence
()
pkg/context/engine.go:386
↓ 1 callersMethodCostByFeature
()
pkg/cost/cost.go:362
↓ 1 callersMethodCostByTool
()
pkg/cost/cost.go:386
↓ 1 callersMethodCostByUser
()
pkg/cost/cost.go:374
↓ 1 callersMethodDecayProfiles
(maxAge time.Duration)
pkg/governor/registry.go:442
↓ 1 callersMethodEmitTaskComplete
EmitTaskComplete records a full task execution.
pkg/runtime/events.go:102
↓ 1 callersMethodEmitVerification
EmitVerification records a code verification result.
pkg/runtime/events.go:116
↓ 1 callersFunctionFileSystemToolDefs
()
pkg/tools/filesystem.go:55
↓ 1 callersMethodFormatReport
FormatReport generates a human-readable report of all model capabilities.
pkg/governor/registry.go:388
↓ 1 callersFunctionFormatResult
FormatResult returns a human-readable verification result.
pkg/governor/verifier.go:440
↓ 1 callersMethodGetBlock
(id string)
pkg/context/engine.go:991
↓ 1 callersFunctionGitHubToolDefs
()
pkg/tools/github.go:86
↓ 1 callersMethodJSON
()
pkg/cost/cost.go:256
↓ 1 callersMethodLoadAll
()
pkg/store/store.go:31
↓ 1 callersMethodLoadPatterns
()
pkg/store/store.go:33
↓ 1 callersMethodLoadPatterns
()
pkg/store/store.go:213
↓ 1 callersFunctionNewAgentWithGovernor
NewAgentWithGovernor creates an agent with the cognitive governor enabled.
pkg/runtime/agent.go:183
↓ 1 callersFunctionNewEventEmitter
NewEventEmitter creates an emitter that appends to the given file.
pkg/runtime/events.go:34
↓ 1 callersFunctionNewGovernorForRuntime
NewGovernorForRuntime creates a Governor that can be passed to runtime.NewAgentWithGovernor.
pkg/governor/adapter.go:79
↓ 1 callersFunctionNewRouter
()
pkg/tools/http.go:45
↓ 1 callersFunctionNewToolRankerWithStore
(s store.Store)
pkg/context/engine.go:419
↓ 1 callersMethodPatternCount
()
pkg/store/store.go:247
↓ 1 callersMethodQueryBonus
(toolID string, queryWords []string)
pkg/context/engine.go:779
↓ 1 callersMethodRankTools
(query string)
pkg/context/engine.go:58
↓ 1 callersMethodRecordCost
(toolID string, costUSD float64)
pkg/context/engine.go:691
↓ 1 callersMethodRecordCount
()
pkg/store/store.go:242
↓ 1 callersMethodRecordToolCost
(toolID string, costUSD float64)
pkg/context/engine.go:62
↓ 1 callersMethodRegister
(name string, fn ToolFunc)
pkg/tools/http.go:57
↓ 1 callersMethodResetDecisions
()
pkg/router/router.go:333
↓ 1 callersMethodResetEscalations
(taskID string)
pkg/governor/verifier.go:411
↓ 1 callersFunctionRunDemo
(mgr *ctx.Manager)
pkg/runtime/agent.go:1228
↓ 1 callersMethodSave
(record ToolStatsRecord)
pkg/store/store.go:32
↓ 1 callersMethodSavePattern
(record QueryPatternRecord)
pkg/store/store.go:34
↓ 1 callersMethodShouldDemote
(model string, toolName string)
pkg/runtime/agent.go:120
↓ 1 callersMethodSnapshot
()
pkg/runtime/agent.go:268
↓ 1 callersMethodStartTrace
(taskID, query string)
pkg/context/engine.go:902
↓ 1 callersMethodString
()
pkg/context/manager.go:56
↓ 1 callersMethodSuccessRate
()
pkg/context/engine.go:379
↓ 1 callersMethodToolCostEfficiency
()
pkg/cost/cost.go:417
↓ 1 callersFunctionTraceJSON
(result *TaskResult)
pkg/runtime/agent.go:297
↓ 1 callersMethodUsage
()
pkg/context/manager.go:326
↓ 1 callersFunctionVerifyResponse
(response string, taskType string)
pkg/runtime/verify.go:48
↓ 1 callersFunctionWebSearchToolDefs
()
pkg/tools/websearch.go:56
↓ 1 callersMethod_content_overlap
Compute word-level Jaccard similarity between two texts.
ark-memory/ark_memory/store.py:286
↓ 1 callersMethod_embed_openai
(self, text: str)
ark-memory/ark_memory/embeddings.py:91
↓ 1 callersMethod_embed_openai_batch
(self, texts: List[str])
ark-memory/ark_memory/embeddings.py:99
↓ 1 callersMethod_enforce_limit
Remove oldest low-importance memories if over limit.
ark-memory/ark_memory/store.py:456
↓ 1 callersMethod_init_db
Initialize SQLite database and create tables if needed.
ark-memory/ark_memory/store.py:41
↓ 1 callersMethod_process_event
Route an event to the appropriate experience recorder.
ark-memory/ark_memory/collector.py:101
↓ 1 callersMethod_process_step
(self, event: dict)
ark-memory/ark_memory/collector.py:138
↓ 1 callersMethod_process_strategy
(self, event: dict)
ark-memory/ark_memory/collector.py:185
↓ 1 callersMethod_process_task
(self, event: dict)
ark-memory/ark_memory/collector.py:152
↓ 1 callersMethod_process_tool_call
(self, event: dict)
ark-memory/ark_memory/collector.py:116
↓ 1 callersMethod_process_verification
(self, event: dict)
ark-memory/ark_memory/collector.py:163
↓ 1 callersMethod_update_importance
Boost accessed memories, decay non-accessed.
ark-memory/ark_memory/store.py:296
↓ 1 callersMethodapplyToolField
(key, val string)
pkg/config/config.go:266
↓ 1 callersFunctionautoFixCodeInResponse
(response string)
pkg/runtime/quality.go:562
← previousnext →201–300 of 715, ranked by callers