MCPcopy Create free account

hub / github.com/dexhorthy/shannon / functions

Functions128 in github.com/dexhorthy/shannon

↓ 18 callersFunctionaddString
(args: string[], flag: string, value: unknown)
index.ts:317
↓ 15 callersFunctionaddString
(args: string[], flag: string, value: unknown)
src/sdk.ts:990
↓ 14 callersFunctionaddBoolean
(args: string[], flag: string, value: unknown)
index.ts:326
↓ 13 callersFunctionaddBoolean
(args: string[], flag: string, value: unknown)
src/sdk.ts:1000
↓ 11 callersFunctionrunShannonLive
(args: string[], stdin?: string)
src/test/learning/shannon-live.test.ts:9
↓ 10 callersFunctionparseJsonl
(stdout: string)
src/test/learning/shannon-live.test.ts:78
↓ 10 callersFunctionsessionKey
(sessionId: string, options: SessionLookupOptions, subpath?: string)
src/sdk.ts:698
↓ 9 callersFunctionnumberFromUsage
(value: unknown)
index.ts:634
↓ 8 callersFunctiongetSessionMessages
( sessionId: string, options: SessionLookupOptions = {}, )
src/sdk.ts:460
↓ 8 callersFunctionparseArgs
(argv: string[], cwd = process.cwd())
index.ts:138
↓ 8 callersFunctionrunCommand
(args: string[], throwOnFailure = true)
index.ts:1144
↓ 7 callersFunctionaddRepeated
(args: string[], flag: string, value: unknown)
index.ts:330
↓ 7 callersFunctionaddRepeated
(args: string[], flag: string, value: unknown)
src/sdk.ts:1004
↓ 7 callersFunctionemitJson
(value: JsonRecord)
index.ts:1163
↓ 7 callersFunctiontranscriptPathForSession
( sessionId: string, options: SessionLookupOptions, )
src/sdk.ts:810
↓ 6 callersFunctionaddOptionalString
(args: string[], flag: string, value: unknown)
index.ts:321
↓ 6 callersFunctionaddOptionalString
(args: string[], flag: string, value: unknown)
src/sdk.ts:995
↓ 6 callersFunctiontextFromContent
(content: unknown)
index.ts:359
↓ 6 callersFunctiontextFromMessage
(message: JsonRecord | undefined)
src/test/learning/shannon-live.test.ts:85
↓ 5 callersFunctioncollectSdkLiveMessages
(prompt: string, options: Record<string, unknown>)
src/test/learning/shannon-live.test.ts:99
↓ 5 callersFunctionquery
({ prompt, options = {} }: QueryParams)
src/sdk.ts:443
↓ 4 callersFunctionkeyString
(key: SessionKey)
src/test/learning/shannon-sdk.test.ts:58
↓ 4 callersFunctionprojectKeyForDir
(dir: string)
src/sdk.ts:686
↓ 4 callersFunctionreadJsonlFile
(path: string)
src/sdk.ts:850
↓ 4 callersFunctionrowContainsPromptAfter
( row: TranscriptRow, prompt: string, promptSentAt: number, allowMissingTimestamp = false, )
index.ts:1016
↓ 4 callersFunctionsliceMessages
(rows: T[], options: { limit?: number; offset?: number })
src/sdk.ts:706
↓ 4 callersFunctiontoSdkInit
(meta: SessionMetadata, rows: TranscriptRow[])
index.ts:439
↓ 3 callersFunctionclaudeProjectFolder
(dir: string, home?: string)
src/sdk.ts:694
↓ 3 callersFunctionestimateCostUSD
(model: string, usage: JsonRecord)
index.ts:594
↓ 3 callersFunctiongetSessionInfo
( sessionId: string, options: SessionLookupOptions = {}, )
src/sdk.ts:473
↓ 3 callersFunctionmodelFromClaudeArgs
(args: string[])
index.ts:346
↓ 3 callersFunctionprojectKeyForDir
(dir: string)
src/test/learning/shannon-sdk.test.ts:52
↓ 3 callersFunctionsignalExitCode
(signal: ShutdownSignal)
index.ts:876
↓ 3 callersFunctionsleep
(ms: number)
index.ts:1183
↓ 3 callersFunctionstringFlagFromClaudeArgs
(args: string[], flag: string)
index.ts:350
↓ 3 callersFunctiontagSession
( sessionId: string, tag: string | null, options: SessionMutationOptions = {}, )
src/sdk.ts:610
↓ 3 callersFunctiontoSdkResult
(row: TranscriptRow, startedAt: number, numTurns = 1, durationMsOverride?: number)
index.ts:565
↓ 3 callersFunctionvalidateRuntime
(claudeExecutable = "claude")
index.ts:918
↓ 2 callersFunctionaddRepeatedFlag
(args: string[], flag: string, value: unknown)
index.ts:339
↓ 2 callersFunctionaddRepeatedFlag
(args: string[], flag: string, value: unknown)
src/sdk.ts:1008
↓ 2 callersFunctionappendTranscriptRow
(path: string, row: ShannonMessage)
src/sdk.ts:860
↓ 2 callersFunctionassistantReplyFromRows
(prompt: string, rows: TranscriptRow[])
index.ts:680
↓ 2 callersFunctioncapturePane
(tmuxSession: string)
index.ts:1127
↓ 2 callersFunctionclaudeProjectFolder
(cwd: string, home = Bun.env.HOME ?? "")
index.ts:260
↓ 2 callersFunctionclaudeProjectsRoot
(home = Bun.env.HOME ?? "")
src/sdk.ts:690
↓ 2 callersFunctiondeleteSession
( sessionId: string, options: SessionMutationOptions = {}, )
src/sdk.ts:636
↓ 2 callersFunctionfindExecutable
(name: string)
index.ts:1135
↓ 2 callersFunctionforkSession
( sessionId: string, options: ForkSessionOptions = {}, )
src/sdk.ts:553
↓ 2 callersFunctiongetSubagentMessages
( sessionId: string, agentId: string, options: GetSubagentMessagesOptions = {}, )
src/sdk.ts:535
↓ 2 callersFunctionlistSessions
(projectKey)
src/test/learning/shannon-sdk.test.ts:68
↓ 2 callersFunctionlistSubagents
( sessionId: string, options: ListSubagentsOptions = {}, )
src/sdk.ts:503
↓ 2 callersFunctionlistTranscriptPaths
(projectFolder: string)
index.ts:1103
↓ 2 callersFunctionlistTranscriptPaths
(options: SessionLookupOptions = {})
src/sdk.ts:784
↓ 2 callersFunctionlistTranscriptPathsInFolder
(folder: string)
src/sdk.ts:797
↓ 2 callersFunctionmcpServersFromRows
(rows: TranscriptRow[])
index.ts:491
↓ 2 callersFunctionnextPrompt
(iterator: AsyncIterator<string>)
index.ts:1047
↓ 2 callersFunctionoptionsToCliArgs
(options: QueryOptions)
src/sdk.ts:921
↓ 2 callersFunctionparseJsonlStream
(stream: ReadableStream<Uint8Array>)
src/sdk.ts:655
↓ 2 callersFunctionpluginSourcesFromSkillListing
(content: string)
index.ts:553
↓ 2 callersFunctionpluginsFromSkillRows
(rows: TranscriptRow[])
index.ts:527
↓ 2 callersFunctionpricingForModel
(model: string)
index.ts:630
↓ 2 callersFunctionprojectKeyForCwd
(cwd: string)
index.ts:256
↓ 2 callersFunctionpromptFromUserMessage
(message: JsonRecord)
index.ts:671
↓ 2 callersFunctionreadFixture
()
src/test/learning/claude-p-fixture.test.ts:9
↓ 2 callersFunctionreadTranscript
(transcriptPath: string)
index.ts:1086
↓ 2 callersFunctionrenameSession
( sessionId: string, title: string, options: SessionMutationOptions = {}, )
src/sdk.ts:585
↓ 2 callersFunctionrewriteSessionIds
(row: ShannonMessage, sessionId: string)
src/sdk.ts:679
↓ 2 callersFunctionsessionInfoFromRows
( sessionId: string, rows: ShannonMessage[], options: SessionLookupOptions, mtime?: number, )
src/sdk.ts:747
↓ 2 callersFunctionsessionInfoFromTranscript
(transcriptPath: string)
src/sdk.ts:831
↓ 2 callersFunctionskillNamesFromListing
(content: string)
index.ts:540
↓ 2 callersFunctionstringArrayFromUnknown
(value: unknown)
index.ts:509
↓ 2 callersFunctionsubagentsFolderForSession
( sessionId: string, options: SessionLookupOptions, )
src/sdk.ts:822
↓ 2 callersFunctiontoSdkAssistant
(row: TranscriptRow)
index.ts:373
↓ 2 callersFunctiontoSdkHookResponse
(row: TranscriptRow)
index.ts:404
↓ 2 callersFunctiontoSdkHookStarted
(row: TranscriptRow)
index.ts:424
↓ 2 callersFunctiontoSdkPartialAssistant
(row: TranscriptRow)
index.ts:383
↓ 2 callersFunctiontoShannonMetadata
(meta: SessionMetadata, cleanup: JsonRecord)
index.ts:644
↓ 2 callersFunctiontoUserReplay
(prompt: string)
index.ts:658
↓ 2 callersFunctiontoolsFromMcpServers
(mcpServers: Array<{ name: string }>)
index.ts:473
↓ 2 callersFunctiontranscriptMutationRow
( sessionId: string, type: "custom-title" | "tag", fields: Record<string, unknown>, )
src/sdk.ts:770
↓ 2 callersFunctionturnDurationMsFromRows
(prompt: string, rows: TranscriptRow[])
index.ts:694
↓ 2 callersFunctionwebSearchRequestsFromUsage
(usage: JsonRecord)
index.ts:638
↓ 1 callersFunctionaddChrome
(args: string[], value: unknown)
src/sdk.ts:1029
↓ 1 callersFunctionaddJson
(args: string[], flag: string, value: unknown)
src/sdk.ts:1015
↓ 1 callersFunctionaddJsonOrString
(args: string[], flag: string, value: unknown)
src/sdk.ts:1019
↓ 1 callersFunctionaddNoSessionPersistence
(args: string[], value: unknown)
src/sdk.ts:1034
↓ 1 callersFunctionaddSettings
(args: string[], value: unknown)
src/sdk.ts:1024
↓ 1 callersFunctionasyncIterableFromArray
(values: string[])
index.ts:935
↓ 1 callersFunctionbuildClaudeArgs
(parsed: Record<string, unknown>)
index.ts:264
↓ 1 callersFunctioncleanupOnce
()
index.ts:747
↓ 1 callersFunctionemitMetadataOnce
()
index.ts:754
↓ 1 callersFunctionemitOutput
(outputFormat: OutputFormat, messages: JsonRecord[])
index.ts:1167
↓ 1 callersFunctioninstallSignalHandlers
({ cleanup, emitMetadata, }: { cleanup: () => Promise<JsonRecord>; emitMetadata: () => void; })
index.ts:880
↓ 1 callersFunctionisOutputFormat
(value: string)
index.ts:252
↓ 1 callersFunctionkeyFor
(message: JsonRecord)
src/test/learning/claude-p-fixture.test.ts:21
↓ 1 callersFunctionkillTmux
(tmuxSession: string)
index.ts:1118
↓ 1 callersFunctionlistStoredSessions
(options: ListSessionsOptions)
src/sdk.ts:712
↓ 1 callersFunctionmain
()
index.ts:723
↓ 1 callersFunctionmcpToolNames
(serverName: string)
index.ts:480
↓ 1 callersFunctionmemorySessionStore
()
src/test/learning/shannon-sdk.test.ts:56
next →1–100 of 128, ranked by callers