MCPcopy Create free account

hub / github.com/Shitsuten/paramecium / functions

Functions127 in github.com/Shitsuten/paramecium

↓ 52 callersMethod_json
(self, data, status=200)
memory/memory-gateway.py:604
↓ 46 callersFunctionjson
(res, data, status=200)
chat-api/server.mjs:9
↓ 16 callersFunctionemit
(res, obj)
chat-api/gateway.mjs:448
↓ 16 callersFunctionget_db
()
memory/memory-gateway.py:140
↓ 14 callersMethod_read_body
(self)
memory/memory-gateway.py:611
↓ 14 callersFunctionreadBody
chat-api/server.mjs:10
↓ 11 callersMethod_json
(self, data, status=200)
memory/search.py:33
↓ 6 callersFunctionloadSettings
()
chat-api/gateway.mjs:27
↓ 6 callersFunctionsaveConv
(conv)
chat-api/gateway.mjs:23
↓ 4 callersFunction_clean_meta
Sanitize metadata for ChromaDB — it rejects empty lists.
memory/memory-gateway.py:134
↓ 4 callersFunctionfactsDir
()
chat-api/server.mjs:40
↓ 4 callersFunctionget_db
()
memory/search.py:22
↓ 4 callersFunctionload_edges
Load all edges from edges.jsonl.
memory/memory-gateway.py:296
↓ 4 callersFunctionnorm
(s)
memory/verify-splits.py:17
↓ 4 callersFunctionread_md
(filepath)
memory/memory-gateway.py:188
↓ 3 callersMethod_read_body
(self)
memory/search.py:39
↓ 3 callersFunctionappendError
(entry)
chat-api/gateway.mjs:43
↓ 3 callersFunctiongwPost
(path, body)
memory/split-memories.mjs:17
↓ 3 callersFunctionloadStats
()
chat-api/gateway.mjs:32
↓ 3 callersFunctionnorm
memory/extract-memories.mjs:204
↓ 3 callersFunctionparse_frontmatter
(text)
memory/memory-gateway.py:194
↓ 3 callersFunctionsearch_memories
(query, n=5, boost_heat=True, log_access=None)
memory/memory-gateway.py:345
↓ 3 callersFunctionsseHeaders
()
chat-api/gateway.mjs:440
↓ 2 callersMethod_cors
(self)
memory/memory-gateway.py:599
↓ 2 callersMethod_tokenize
(self, text)
memory/memory-gateway.py:45
↓ 2 callersFunctionactive_facts
Return facts filtered by resolved/expired/keywords.
memory/memory-gateway.py:230
↓ 2 callersFunctionappendStat
(entry)
chat-api/gateway.mjs:36
↓ 2 callersFunctioncheckCycle
(conv, account)
chat-api/gateway.mjs:1190
↓ 2 callersFunctioncompressImageMessage
(conv, msgIdx)
chat-api/gateway.mjs:282
↓ 2 callersFunctionentry_hash
(entry)
memory/sync-vault.py:22
↓ 2 callersFunctiongetMcpTools
(settings)
chat-api/gateway.mjs:822
↓ 2 callersFunctiongetMemoryInjection
(context, echo = '')
chat-api/gateway.mjs:221
↓ 2 callersFunctiongetRecentDiaries
(days = 2)
chat-api/gateway.mjs:179
↓ 2 callersFunctionget_model
()
memory/embedding.py:6
↓ 2 callersFunctionisAnthropicProvider
(account)
chat-api/gateway.mjs:69
↓ 2 callersFunctionlistFacts
()
chat-api/server.mjs:41
↓ 2 callersFunctionloadConv
(id)
chat-api/gateway.mjs:17
↓ 2 callersFunctionloadModels
()
memory/extract-memories.mjs:28
↓ 2 callersFunctionnowBeijing
()
chat-api/gateway.mjs:167
↓ 2 callersFunctionparseTags
(t)
memory/split-memories.mjs:150
↓ 2 callersFunctionpost
(path, body)
memory/revault.py:24
↓ 2 callersFunctionproxyStream
(endpoint, apiKey, body, clientRes, conv, account, injection, isAnthropic, opts = {})
chat-api/gateway.mjs:577
↓ 2 callersFunctionreadMdFile
(filepath)
chat-api/server.mjs:18
↓ 2 callersFunctionread_profiles
()
memory/memory-gateway.py:253
↓ 2 callersFunctionvault_docs
()
memory/revault.py:29
↓ 1 callersFunctionapplySupersede
(newMemId, targetId, relation, conf, reason)
memory/extract-memories.mjs:245
↓ 1 callersMethodbuild
(self, doc_ids, documents)
memory/memory-gateway.py:48
↓ 1 callersFunctionbuildCurrentUserMessage
(text, imageData, imageMediaType, styleContent, volatileContext)
chat-api/gateway.mjs:421
↓ 1 callersFunctionbuildEdges
(newMemories, newMemoryIds)
memory/extract-memories.mjs:267
↓ 1 callersFunctionbuildHistoryMessages
(messages, isAnthropic)
chat-api/gateway.mjs:335
↓ 1 callersFunctionbuildSystemBlocks
(settings, injection, conv, isAnthropic)
chat-api/gateway.mjs:249
↓ 1 callersFunctionbuildVolatileContext
(injection, conv)
chat-api/gateway.mjs:415
↓ 1 callersFunctionbuild_injection
Build memory injection. Profiles (static) + facts + semantic search (budget-limited). echo: the assistant's previous reply ("回复的余味", 2026-06-12) —
memory/memory-gateway.py:473
↓ 1 callersFunctioncallBuiltinTool
(name, input)
chat-api/gateway.mjs:751
↓ 1 callersFunctioncallMcpTool
(name, input, tools)
chat-api/gateway.mjs:869
↓ 1 callersFunctionconvertToOpenAIBody
(body)
chat-api/gateway.mjs:94
↓ 1 callersFunctioncount_tokens_cjk
(text)
memory/memory-gateway.py:265
↓ 1 callersFunctiondateOf
(ts, fallback)
memory/archive-import.mjs:46
↓ 1 callersFunctionensure_recall_log
()
memory/memory-gateway.py:171
↓ 1 callersFunctionensure_schema
Add heat/energy/polarity columns if missing.
memory/memory-gateway.py:146
↓ 1 callersFunctionestimateTokensCjk
(messages)
chat-api/gateway.mjs:1174
↓ 1 callersFunctionextractMemories
(messages, convTitle)
memory/extract-memories.mjs:112
↓ 1 callersFunctionfinalizeOpenAIStream
(state, clientRes)
chat-api/gateway.mjs:561
↓ 1 callersFunctionformatTimestamp
(ts)
memory/extract-memories.mjs:104
↓ 1 callersFunctionformatTimestamp
(ts)
chat-api/gateway.mjs:157
↓ 1 callersFunctiongetActiveStyle
(settings)
chat-api/gateway.mjs:151
↓ 1 callersFunctiongetContextBlocks
(convId)
chat-api/gateway.mjs:1267
↓ 1 callersFunctiongetGatewayStats
()
chat-api/gateway.mjs:1111
↓ 1 callersFunctiongetMcpStatus
(forceRefresh = false)
chat-api/gateway.mjs:1315
↓ 1 callersFunctionget_bm25_scorer
()
memory/memory-gateway.py:89
↓ 1 callersFunctionget_edge_stats
Return basic edge stats.
memory/memory-gateway.py:331
↓ 1 callersFunctiongwGet
(path)
memory/split-memories.mjs:26
↓ 1 callersFunctionhandleAnthropicChunk
(evt, state, clientRes, line)
chat-api/gateway.mjs:454
↓ 1 callersFunctionhandleGatewaySend
(reqBody, res)
chat-api/gateway.mjs:888
↓ 1 callersFunctionhandleOpenAIChunk
(evt, state, clientRes)
chat-api/gateway.mjs:502
↓ 1 callersFunctionhashText
(text)
memory/extract-memories.mjs:64
↓ 1 callersFunctioningest_text
Scan assistant reply for <mem>...</mem> tags, store each as a memory. Supports optional category: <mem category="抽屉">content</mem> Default cat
memory/memory-gateway.py:549
↓ 1 callersFunctionlistConversations
()
memory/extract-memories.mjs:75
↓ 1 callersFunctionlist_facts
()
memory/memory-gateway.py:218
↓ 1 callersFunctionloadCache
()
memory/extract-memories.mjs:44
↓ 1 callersFunctionloadConversation
(id)
memory/extract-memories.mjs:69
↓ 1 callersFunctionloadModels
()
memory/split-memories.mjs:13
↓ 1 callersFunctionloadState
()
memory/extract-memories.mjs:32
↓ 1 callersFunctionmain
()
memory/sync-vault.py:26
↓ 1 callersFunctionmain
()
memory/build-fts.py:28
↓ 1 callersFunctionmain
()
memory/split-memories.mjs:89
↓ 1 callersFunctionmain
()
memory/extract-memories.mjs:465
↓ 1 callersFunctionmain
()
memory/archive-import.mjs:110
↓ 1 callersFunctionmerge_memories
Mark absorbed memories as superseded by keep_id. Does not delete them.
memory/memory-gateway.py:577
↓ 1 callersFunctionmessageToText
(msg)
memory/extract-memories.mjs:83
↓ 1 callersFunctionparseFrontmatter
(text)
chat-api/server.mjs:22
↓ 1 callersFunctionpost
(path, data)
memory/sync-vault.py:18
↓ 1 callersFunctionprocessConversation
(convId, state)
memory/extract-memories.mjs:414
↓ 1 callersFunctionresolveAccount
(settings, accountName)
chat-api/gateway.mjs:55
↓ 1 callersFunctionresolveEndpoint
(account, isAnthropic)
chat-api/gateway.mjs:82
↓ 1 callersFunctionsaveCache
(cache)
memory/extract-memories.mjs:50
↓ 1 callersFunctionsaveState
(state)
memory/extract-memories.mjs:38
↓ 1 callersMethodscore
(self, query)
memory/memory-gateway.py:67
↓ 1 callersFunctionsegments
(text)
memory/revault.py:44
↓ 1 callersFunctionsegments
(text)
memory/archive-import.mjs:52
next →1–100 of 127, ranked by callers