MCPcopy Create free account

hub / github.com/Eversmile12/sharedcontext / functions

Functions144 in github.com/Eversmile12/sharedcontext

↓ 30 callersFunctionupsertFact
(db: Database.Database, fact: Fact)
src/core/db.ts:78
↓ 28 callersFunctionmakeFact
(overrides: Partial<Fact> = {})
src/test/db.test.ts:24
↓ 19 callersFunctionmakeFact
(overrides: Partial<Fact> = {})
src/test/engine.test.ts:6
↓ 18 callersFunctiongenerateKeypair
()
src/core/identity.ts:16
↓ 17 callersFunctionderiveKey
(passphrase: string, salt: Uint8Array)
src/core/crypto.ts:16
↓ 16 callersFunctionencrypt
(plaintext: Uint8Array, key: Uint8Array)
src/core/crypto.ts:36
↓ 16 callersFunctionsignShard
(data: Uint8Array, privateKey: Uint8Array)
src/core/identity.ts:70
↓ 15 callersFunctiongenerateSalt
()
src/core/crypto.ts:28
↓ 14 callersFunctiondecrypt
(blob: Uint8Array, key: Uint8Array)
src/core/crypto.ts:51
↓ 14 callersFunctionverifySignature
( data: Uint8Array, signatureHex: string, expectedAddress: string )
src/core/identity.ts:81
↓ 13 callersFunctionreplayShards
(shards: Shard[])
src/core/shard.ts:120
↓ 13 callersFunctionsetMeta
( db: Database.Database, key: string, value: string )
src/core/db.ts:66
↓ 12 callersFunctionrecallContext
( topic: string, currentScope: string, allFacts: Fact[], model?: string )
src/core/engine.ts:57
↓ 11 callersFunctionopenDatabase
(dbPath: string)
src/core/db.ts:4
↓ 10 callersFunctionderiveKeypairFromPhrase
(phrase: string)
src/core/identity.ts:28
↓ 9 callersFunctiongetFact
(db: Database.Database, key: string)
src/core/db.ts:110
↓ 9 callersFunctiongetMeta
(db: Database.Database, key: string)
src/core/db.ts:59
↓ 8 callersFunctionbuildShardTags
( walletAddress: string, version: number, type: "delta" | "snapshot", signature: string )
src/core/sync.ts:25
↓ 8 callersFunctioncreateChunkedShards
( operations: ShardOperation[], startVersion: number, sessionId: string, maxEncryptedBytes: number = M
src/core/shard.ts:36
↓ 8 callersFunctioncreateShard
( operations: ShardOperation[], version: number, sessionId: string )
src/core/shard.ts:17
↓ 8 callersFunctionserializeShard
(shard: Shard)
src/core/shard.ts:104
↓ 7 callersFunctionaddressFromPublicKey
(pubkey: Uint8Array)
src/core/identity.ts:45
↓ 7 callersFunctiondeleteFact
(db: Database.Database, key: string)
src/core/db.ts:100
↓ 7 callersFunctiondownloadShard
(txId: string, maxBytes?: number)
src/core/arweave.ts:452
↓ 7 callersFunctiontoErrorMessage
(err: unknown)
src/cli/util.ts:25
↓ 6 callersFunctionclearDirtyState
(db: Database.Database)
src/core/db.ts:161
↓ 6 callersFunctiondeserializeShard
(data: Uint8Array)
src/core/shard.ts:111
↓ 6 callersFunctiongetAllFacts
(db: Database.Database)
src/core/db.ts:117
↓ 6 callersFunctiongetDirtyFacts
(db: Database.Database)
src/core/db.ts:147
↓ 6 callersFunctiongetPendingDeletes
(db: Database.Database)
src/core/db.ts:154
↓ 5 callersFunctionensureInitialized
()
src/cli/util.ts:16
↓ 5 callersFunctionformatContext
(facts: Fact[])
src/core/engine.ts:120
↓ 5 callersFunctionincrementAccessCount
( db: Database.Database, key: string )
src/core/db.ts:166
↓ 4 callersFunctionflush
()
src/core/parsers/cursor.ts:106
↓ 4 callersFunctiongeneratePhrase
()
src/core/passphrase.ts:14
↓ 4 callersFunctiongqlRequest
(body: { query: string; variables?: Record<string, unknown> })
src/core/arweave.ts:534
↓ 4 callersFunctionqueryShards
(walletAddress: string)
src/core/arweave.ts:65
↓ 4 callersFunctionresolveIdentity
(passphrase: string)
src/cli/util.ts:35
↓ 4 callersMethodupload
Upload encrypted data with tags. Returns the transaction ID.
src/core/storage.ts:32
↓ 3 callersFunctionbytesToBits
(bytes: Uint8Array)
src/core/passphrase.ts:76
↓ 3 callersFunctioncommandExists
(command: string)
src/cli/setup.ts:142
↓ 3 callersFunctiondecodeShareToken
(token: string)
src/cli/share.ts:109
↓ 3 callersFunctiondiscoverConversationFiles
()
src/core/watcher.ts:29
↓ 3 callersFunctionextractToken
(input: string)
src/cli/share.ts:132
↓ 3 callersFunctiongetDbPath
()
src/cli/init.ts:230
↓ 3 callersFunctiongetFactsByScope
( db: Database.Database, scope: string )
src/core/db.ts:124
↓ 3 callersFunctionisIdentityAvailable
()
src/cli/util.ts:43
↓ 3 callersFunctionkeychainLoad
()
src/core/keychain.ts:69
↓ 3 callersFunctionloginKeychain
Path to the user's login keychain on macOS
src/core/keychain.ts:9
↓ 3 callersFunctionmergeConsecutiveMessages
( messages: ConversationMessage[] )
src/core/parsers/cursor.ts:185
↓ 3 callersFunctionparseClaudeCodeJSONL
( text: string, fileId: string, project: string )
src/core/parsers/claude-code.ts:17
↓ 3 callersFunctionparseCursorJSONL
( text: string, fileId: string, project: string )
src/core/parsers/cursor.ts:11
↓ 3 callersFunctionparseCursorTranscript
( text: string, fileId: string, project: string )
src/core/parsers/cursor.ts:94
↓ 3 callersFunctionphraseToString
(words: string[])
src/core/passphrase.ts:72
↓ 3 callersFunctionprompt
(question: string)
src/cli/util.ts:6
↓ 3 callersFunctionpublicKeyFromPrivate
(privateKey: Uint8Array)
src/core/identity.ts:62
↓ 3 callersFunctionvalidatePhrase
(words: string[])
src/core/passphrase.ts:33
↓ 2 callersFunctiondiscoverConversations
(options?: { localOnly?: boolean; })
src/cli/list.ts:95
↓ 2 callersFunctionencodeShareToken
(token: ShareTokenV1)
src/cli/share.ts:105
↓ 2 callersFunctionfetchIdentity
( walletAddress: string, identityMaxBytes = 16 * 1024 )
src/core/arweave.ts:496
↓ 2 callersMethodgetBalance
Get current balance and estimated remaining uploads.
src/core/storage.ts:34
↓ 2 callersFunctiongetClaudeCliConfigPath
()
src/cli/setup.ts:101
↓ 2 callersFunctiongetClaudeConfigPath
()
src/cli/setup.ts:81
↓ 2 callersFunctiongetCodexConfigPath
()
src/cli/setup.ts:97
↓ 2 callersFunctiongetConfigPath
(target: SetupTarget)
src/cli/setup.ts:105
↓ 2 callersFunctiongetIdentityPath
()
src/cli/init.ts:234
↓ 2 callersFunctionisJsonObject
(value: unknown)
src/cli/setup.ts:222
↓ 2 callersFunctionkeychainStore
(passphrase: string)
src/core/keychain.ts:19
↓ 2 callersFunctionloadIdentityPrivateKey
(key: Uint8Array)
src/cli/init.ts:217
↓ 2 callersFunctionloadKey
(passphrase: string)
src/cli/init.ts:205
↓ 2 callersFunctionparseEndpointList
(envValue: string | undefined, fallback: string[])
src/core/arweave.ts:524
↓ 2 callersMethodpoll
()
src/core/watcher.ts:149
↓ 2 callersFunctionprintAutoSetupSummary
()
src/cli/init.ts:238
↓ 2 callersFunctionpullConversations
( walletAddress: string, encryptionKey: Uint8Array )
src/core/sync.ts:267
↓ 2 callersFunctionqueryTransactionTagsById
( txId: string )
src/core/arweave.ts:405
↓ 2 callersFunctionsearchByTags
( db: Database.Database, tags: string[] )
src/core/db.ts:136
↓ 2 callersFunctionsetupTarget
(target: SetupTarget)
src/cli/setup.ts:112
↓ 2 callersFunctiontoTomlString
(value: string)
src/cli/setup.ts:196
↓ 1 callersFunctionautoSetupDetectedClients
()
src/cli/setup.ts:60
↓ 1 callersFunctionbitsToBytes
(bits: string)
src/core/passphrase.ts:82
↓ 1 callersMethodcheckFile
(file: ConversationFileRef)
src/core/watcher.ts:155
↓ 1 callersFunctionchunkOperationsBySize
* Group operations so each group's serialized shard JSON stays under maxJsonBytes. * Uses actual byte measurement (TextEncoder) for accuracy.
src/core/shard.ts:56
↓ 1 callersFunctiondeleteCommand
(options: { key: string })
src/cli/delete.ts:4
↓ 1 callersFunctiondetectInstalledClients
()
src/cli/setup.ts:120
↓ 1 callersFunctiondiscoverClaudeCodeFiles
()
src/core/watcher.ts:85
↓ 1 callersFunctiondiscoverCursorFiles
()
src/core/watcher.ts:33
↓ 1 callersFunctionextractAssistantContent
(obj: Record<string, unknown>)
src/core/parsers/claude-code.ts:100
↓ 1 callersFunctionextractKeywords
* Extract keywords from a topic string for tag matching.
src/core/engine.ts:23
↓ 1 callersFunctionextractUserContent
(obj: Record<string, unknown>)
src/core/parsers/claude-code.ts:71
↓ 1 callersFunctionfactToUpsertOp
(fact: Fact)
src/core/shard.ts:151
↓ 1 callersFunctionfindLatestSnapshot
(shards: ShardInfo[])
src/core/sync.ts:422
↓ 1 callersFunctionformatTarget
(target: "cursor" | "claude" | "claude-cli" | "codex")
src/cli/init.ts:264
↓ 1 callersFunctionfreshDb
()
src/test/db.test.ts:43
↓ 1 callersMethodgetBalance
()
src/core/backends/turbo.ts:54
↓ 1 callersFunctiongetCursorConfigPath
()
src/cli/setup.ts:77
↓ 1 callersFunctiongetPreview
(conversation: Conversation)
src/cli/list.ts:198
↓ 1 callersFunctiongetSharedConversationImports
( db: Database.Database )
src/core/db.ts:221
↓ 1 callersFunctiongetTokenBudget
(model?: string)
src/core/engine.ts:84
↓ 1 callersFunctiongroupConversationChunkInfos
( infos: ConversationChunkInfo[] )
src/core/sync.ts:409
↓ 1 callersFunctionhasSharedConversationImport
( db: Database.Database, shareId: string )
src/core/db.ts:186
next →1–100 of 144, ranked by callers