Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TauricResearch/TradingAgents
/ functions
Functions
1,242 in github.com/TauricResearch/TradingAgents
⨍
Functions
1,242
◇
Types & classes
88
↓ 179 callers
Function
message
(key: K, ...params: Params<K>)
src/contracts/messages.ts:865
↓ 91 callers
Method
push
(item: EventEnvelope)
src/engine/engine.ts:577
↓ 63 callers
Method
get
* One published GET, with path and query parameters as the route names them. The answer is checked * against the pinned document for that route, so
src/data/tauric/client.ts:266
↓ 36 callers
Function
referenceTo
(id: string, path?: string)
src/tools/references.ts:37
↓ 33 callers
Function
defineTool
( tool: Tool<Input, Output>, )
src/tools/tool.ts:112
↓ 30 callers
Function
errorText
(error: unknown)
src/contracts/errors.ts:6
↓ 29 callers
Function
printable
(text: string)
src/contracts/printable.ts:9
↓ 21 callers
Function
oneLine
(text: string)
src/tools/tool-text.ts:24
↓ 17 callers
Function
provenanceOf
( answer: { source: string; after: readonly string[]; notes: readonly string[]; syncs?: true }, about: {
src/tools/tool-text.ts:224
↓ 16 callers
Method
write
* Queue a write; the first failure is reported once and recording stops. With `committed`, the * write is made durable and the file's size then is
src/engine/session.ts:453
↓ 14 callers
Function
roomIn
(room: number, ...fixed: string[][])
src/tools/tool-text.ts:219
↓ 14 callers
Function
shownOf
(rows: readonly string[], room: number, rest?: string)
src/tools/tool-text.ts:210
↓ 14 callers
Function
useRoles
()
src/cli/theme-context.ts:14
↓ 12 callers
Method
open
* Open `path` for appending, creating it (and its directory) private to the user. A new file * starts with `header`; an existing one is made privat
src/store/log.ts:84
↓ 11 callers
Method
add
(tool: Tool)
src/tools/registry.ts:58
↓ 11 callers
Method
get
(id: string)
src/tools/evidence-store.ts:89
↓ 10 callers
Method
abort
()
src/engine/engine.ts:195
↓ 10 callers
Function
hint
(schema: S, spec: PreviewHint<z.output<S>>)
src/tools/preview.ts:129
↓ 10 callers
Function
instrumentLine
(instrument: Instrument | null | undefined)
src/tools/tool-text.ts:81
↓ 10 callers
Function
round
(value: number, digits = 2)
src/compute/series.ts:66
↓ 10 callers
Function
toErr
(text: string)
src/cli/output.ts:16
↓ 9 callers
Method
guarded
Run one public call; whatever fails leaves as a DataError that never carries the key.
src/data/tauric/transport.ts:98
↓ 9 callers
Function
oneLine
(text: string)
src/cli/rows.ts:191
↓ 9 callers
Function
within
(date: string)
src/data/tauric/provider.ts:679
↓ 8 callers
Method
close
()
src/cli/session-host.ts:29
↓ 8 callers
Function
finish
(error?: Error)
src/cli/secret.ts:29
↓ 8 callers
Function
parseInstrument
(key: string)
src/data/instrument-key.ts:19
↓ 8 callers
Function
print
(text: string)
src/cli/output.ts:21
↓ 8 callers
Method
release
Remove the lock if this holder still has it; releasing again does nothing more.
src/store/lock.ts:62
↓ 8 callers
Function
sessionsDir
(dir: string)
src/engine/session.ts:534
↓ 8 callers
Function
withWeekday
(date: string)
src/contracts/dates.ts:25
↓ 7 callers
Function
amount
(value: number | null | undefined)
src/tools/tool-text.ts:189
↓ 7 callers
Method
close
()
src/store/log.ts:130
↓ 7 callers
Function
fieldNotes
(states: FieldStates)
src/tools/tool-text.ts:98
↓ 7 callers
Method
list
( symbol: string, query: { limit: number; forms?: string[]; after?: string }, call?: Call, )
src/data/capabilities.ts:261
↓ 7 callers
Function
loadSettings
( env: NodeJS.ProcessEnv = process.env, { limits: given, flags = {}, paths = resolvePaths(env)
src/config/settings.ts:104
↓ 7 callers
Method
next
()
src/compute/expression.ts:264
↓ 7 callers
Function
paint
(style: ChalkInstance, role: Style, text: string)
src/cli/theme.ts:164
↓ 7 callers
Method
read
One published JSON operation: run it, map a failure, check the answer.
src/data/tauric/transport.ts:74
↓ 7 callers
Function
readPrivate
(path: string)
src/store/private-file.ts:29
↓ 7 callers
Function
shortDuration
(ms: number)
src/cli/rows.ts:13
↓ 7 callers
Method
sync
Make what was appended durable.
src/store/log.ts:121
↓ 7 callers
Function
useTheme
()
src/cli/theme-context.ts:9
↓ 6 callers
Method
close
()
src/engine/session.ts:392
↓ 6 callers
Function
dayOf
(instant: Date)
src/contracts/dates.ts:15
↓ 6 callers
Function
displayNumber
(value: number)
src/tools/tool-text.ts:158
↓ 6 callers
Function
fileOf
(dir: string, id: string)
src/engine/session.ts:649
↓ 6 callers
Function
keyRefused
(provider: string, url: string, said: string)
src/models/hosted.ts:60
↓ 6 callers
Function
labelOf
(series: unknown)
src/tools/series.ts:153
↓ 6 callers
Function
modelInfo
(provider: CatalogProvider, id: string)
src/models/catalog.ts:107
↓ 6 callers
Method
peek
(op: string)
src/compute/expression.ts:259
↓ 6 callers
Function
push
* Append a finished block with its spacing. Results held for a group go out first, as rows of their own: * something came between them, so they are n
src/cli/transcript-state.ts:401
↓ 6 callers
Function
scalar
(value: Value, op: string)
src/compute/expression.ts:277
↓ 6 callers
Function
writePrivate
(path: string, text: string)
src/store/private-file.ts:53
↓ 5 callers
Method
add
(envelope: EventEnvelope)
src/engine/session.ts:797
↓ 5 callers
Function
basisNotes
(sources: readonly Prepared[])
src/tools/series.ts:121
↓ 5 callers
Function
homePath
(path: string, home = homedir())
src/cli/output.ts:27
↓ 5 callers
Function
isRecord
(value: unknown)
src/config/json.ts:15
↓ 5 callers
Function
offeredLevels
(provider: string, id: string)
src/models/catalog.ts:112
↓ 5 callers
Method
read
()
src/models/chatgpt-auth.ts:551
↓ 5 callers
Method
record
(envelopes: EventEnvelope[])
src/engine/session.ts:351
↓ 5 callers
Function
report
(problem: string)
src/cli/main.tsx:286
↓ 5 callers
Method
sessionPath
(sessionId: string)
src/data/tauric/applications.ts:178
↓ 5 callers
Method
signIn
* Sign in and save the result; returns the account's email. `say` shows the address to open; when * the browser cannot reach this machine, the addr
src/models/chatgpt-auth.ts:199
↓ 5 callers
Function
toOut
(text: string)
src/cli/output.ts:12
↓ 5 callers
Function
withoutReplay
(message: Message, { keepReasoning = false } = {})
src/contracts/model.ts:58
↓ 4 callers
Method
acquire
* Take the lock at `path`, or return who holds it (no one named when the lock cannot be read), and * the left-over file to remove when a crashed ta
src/store/lock.ts:39
↓ 4 callers
Function
addDays
(date: string, days: number)
src/contracts/dates.ts:37
↓ 4 callers
Function
addUsage
(total: Usage, step: Usage | undefined)
src/contracts/events.ts:270
↓ 4 callers
Function
align
(series: readonly Series[])
src/compute/series.ts:19
↓ 4 callers
Method
append
* Append one entry, holding the file's lock (waiting for another process if it has it), so that one * process's repair of a torn line cannot cut an
src/engine/memory.ts:431
↓ 4 callers
Function
chatgptAuth
(path: string | undefined, fetchImpl?: typeof globalThis.fetch)
src/engine/factory.ts:365
↓ 4 callers
Method
client
A typed client for one document's routes, over this transport.
src/data/tauric/transport.ts:69
↓ 4 callers
Function
count
(fromStart: number)
src/tools/fiscal.ts:45
↓ 4 callers
Function
decodeEntities
(text: string)
src/cli/entities.ts:20
↓ 4 callers
Method
digest
One security's news digest, or the market's when no symbol is given.
src/data/capabilities.ts:643
↓ 4 callers
Function
dot
(a: readonly number[], b: readonly number[])
src/compute/optimize.ts:591
↓ 4 callers
Function
failed
( text: string, failure: CallFailure, source?: string, budget: number = CALLS.resultChars, code?: st
src/tools/registry.ts:293
↓ 4 callers
Function
hyperlink
(text: string, url: string, unicode: boolean)
src/cli/links.ts:20
↓ 4 callers
Function
indented
(text: string, indent = " ")
src/tools/tool-text.ts:34
↓ 4 callers
Function
insertText
(state: LineState, text: string)
src/cli/line-editor.ts:103
↓ 4 callers
Function
isHosted
(provider: string)
src/cli/setup/setup-flows.ts:84
↓ 4 callers
Function
mark
A finished row's mark: a check, or a cross when it failed (ASCII stand-ins where needed).
src/cli/Transcript.tsx:344
↓ 4 callers
Function
matchingOptions
The options matching what was typed, best first; equal ones in their order.
src/cli/form/picker-state.ts:78
↓ 4 callers
Function
noCredit
(provider: string, said: string)
src/models/hosted.ts:66
↓ 4 callers
Function
num
(value: number)
src/tools/indicators.ts:28
↓ 4 callers
Function
numberCitations
(text: string, sources: readonly Pick<Source, "id" | "n">[])
src/contracts/citations.ts:75
↓ 4 callers
Function
openField
(kind: FieldState["kind"], value = "")
src/cli/form/field-state.ts:22
↓ 4 callers
Function
parseJson
(text: string)
src/config/json.ts:7
↓ 4 callers
Function
pendingDeletions
(dir: string)
src/engine/session.ts:543
↓ 4 callers
Function
prepare
(input: unknown, { levels = false }: { levels?: boolean } = {})
src/tools/series.ts:46
↓ 4 callers
Method
read
(name: string)
src/engine/memory.ts:412
↓ 4 callers
Function
resolveReferences
( args: unknown, source: ReferenceSource, at: { run: string; step: number }, )
src/tools/references.ts:92
↓ 4 callers
Method
resume
* Continue session `id` with an engine whose model has `replayKey`; refuses one open elsewhere or * damaged.
src/engine/session.ts:194
↓ 4 callers
Method
search
(query: string, call?: Call)
src/data/capabilities.ts:742
↓ 4 callers
Function
sourceLine
(source: Source)
src/contracts/citations.ts:31
↓ 4 callers
Function
takeLock
(dir: string, id: string)
src/engine/session.ts:675
↓ 4 callers
Function
tauricSessions
(apiKey: string, fetchImpl?: typeof globalThis.fetch)
src/engine/factory.ts:299
↓ 4 callers
Function
timeOf
An envelope's time in milliseconds, when it has one.
src/cli/transcript-state.ts:216
↓ 4 callers
Function
times
(matrix: readonly (readonly number[])[], vector: readonly number[])
src/compute/portfolio.ts:73
next →
1–100 of 1,242, ranked by callers