MCPcopy Create free account

hub / github.com/AIScientists-Dev/Flowtrace / functions

Functions672 in github.com/AIScientists-Dev/Flowtrace

↓ 1 callersFunctionnext_seq
Allocate the next seq for this run. Cache-backed: O(1) after first use.
crates/flowtrace-cli/src/reply.rs:65
↓ 1 callersFunctionnormalize
Apply NFC normalization. Caller has already run `validate_relative`, which rejects `//` so no slash-collapsing is needed.
crates/flowtrace-core/src/paths.rs:61
↓ 1 callersFunctionnormalizeSvgText
(svgText: string)
frontend/src/features/trace/components/detail/file-preview/file-utils.ts:61
↓ 1 callersFunctionopen_url
(url: &str)
crates/flowtrace-cli/src/serve/mod.rs:142
↓ 1 callersFunctionparseCSV
(content: string)
frontend/src/features/trace/components/detail/file-preview/file-utils.ts:36
↓ 1 callersFunctionparseJsonl
(content: string)
frontend/src/features/trace/components/detail/file-preview/renderers/JsonlPreview.tsx:195
↓ 1 callersFunctionparseMarkdownTable
(markdown: string)
frontend/src/features/trace/components/detail/output-card/OutputCardTable.tsx:7
↓ 1 callersFunctionparseReferences
(data: string | CSLReference[] | null | undefined)
frontend/src/shared/lib/citation-resolver.ts:223
↓ 1 callersFunctionparseStructuredOutput
(input: any)
frontend/src/features/trace/components/detail/output-card/index.tsx:68
↓ 1 callersFunctionparseTimestamp
* Parse timestamp, treating as UTC if no timezone specified. * This handles the case where PostgreSQL returns timestamps without explicit timezone.
frontend/src/shared/lib/date-utils.ts:31
↓ 1 callersFunctionparse_payload
Parse stdin content as a typed [`StructuredOutput`] payload. Validates against the schema at parse time: required fields (headline, status) must be p
crates/flowtrace-cli/src/reply.rs:237
↓ 1 callersFunctionparse_trace
(root: &Path)
crates/flowtrace-cli/src/serve/scope.rs:73
↓ 1 callersFunctionplaceholder
(slot: dict | None, prompts_by_slot: dict)
scripts/examples/talk-to-deck/template/scripts/render_deck.py:122
↓ 1 callersFunctionrandom_trace_id
Random slug fallback for `POST /api/traces` when no id is supplied: `rcp-<16 hex>`. Hyphen (not underscore) so the result satisfies the slug regex in
crates/flowtrace-cli/src/id.rs:7
↓ 1 callersFunctionread_stdin_to_string
Read all of stdin into a string. Used by the CLI to pick up the structured-output payload piped in by the caller.
crates/flowtrace-cli/src/reply.rs:225
↓ 1 callersFunctionrenderContent
()
frontend/src/features/trace/components/detail/file-preview/FilePreview.tsx:245
↓ 1 callersFunctionrenderDiagram
()
frontend/src/features/trace/components/detail/output-card/OutputCardEvidence.tsx:416
↓ 1 callersFunctionrenderHeader
()
frontend/src/features/trace/components/detail/file-preview/FilePreview.tsx:352
↓ 1 callersFunctionrenderMermaid
(id: string, code: string)
frontend/src/features/trace/components/detail/output-card/lazy-mermaid.ts:40
↓ 1 callersFunctionrenderPage
()
frontend/src/features/trace/components/detail/file-preview/renderers/PdfPreview.tsx:16
↓ 1 callersFunctionrenderZoomControls
()
frontend/src/features/trace/components/detail/file-preview/FilePreview.tsx:218
↓ 1 callersFunctionrender_bibliography
(citation_order, sources)
scripts/examples/nested-deps/template/steps/format_report/scripts/format.py:63
↓ 1 callersFunctionrender_chrome
(html: str, out: Path)
scripts/examples/nvda-decision/template/scripts/typeset.py:249
↓ 1 callersFunctionrender_example
Render a minimal valid JSON example for the schema. Always ends with a newline so the output is line-clean when piped to a file or another command.
crates/flowtrace-cli/src/explain.rs:378
↓ 1 callersFunctionrender_jsonschema
Render the raw JSON Schema for this target, pretty-printed. The schema is emitted as a `RootSchema`-equivalent: the target's `SchemaObject` becomes t
crates/flowtrace-cli/src/explain.rs:393
↓ 1 callersFunctionrender_plaintext
kubectl-style plaintext rendering.
crates/flowtrace-cli/src/explain.rs:261
↓ 1 callersFunctionrender_slide
(row: dict, lay: dict, prompts_by_slot: dict, total: int)
scripts/examples/talk-to-deck/template/scripts/render_deck.py:133
↓ 1 callersFunctionrender_weasyprint
(html: str, out: Path)
scripts/examples/nvda-decision/template/scripts/typeset.py:226
↓ 1 callersFunctionreplaceUrlsInHtml
(html: string, urlMap: Map<string, string>)
frontend/src/features/trace/components/detail/file-preview/renderers/HtmlPreview.tsx:75
↓ 1 callersFunctionreply_path
(trace_root: &Path, run_id: &str, seq: u32)
crates/flowtrace-cli/src/reply.rs:38
↓ 1 callersFunctionresolveCitation
(part: string)
frontend/src/features/trace/components/detail/output-card/shared/FileChip.tsx:146
↓ 1 callersFunctionresolveCitations
( content: string, references: CSLReference[] | null | undefined )
frontend/src/shared/lib/citation-resolver.ts:128
↓ 1 callersFunctionresolve_citations
(text, sources)
scripts/examples/nested-deps/template/steps/format_report/scripts/format.py:41
↓ 1 callersFunctionresolve_commit_state
Resolve `(commit_sha, committed_files)` for the run-detail response. Cache hits on `?at=` skip spawn_blocking entirely; everything else runs in a sing
crates/flowtrace-cli/src/serve/routes/runs.rs:174
↓ 1 callersFunctionresolve_under_scope
(state: &AppState, rel: &str)
crates/flowtrace-cli/src/serve/routes/assets.rs:212
↓ 1 callersFunctionrestore_default_sigpipe
()
crates/flowtrace-cli/src/main.rs:271
↓ 1 callersFunctionroot_schema_for
Build the root JsonSchema for `reply` / `state` / `trace` / `run_detail`.
crates/flowtrace-cli/src/explain.rs:71
↓ 1 callersFunctionrsi_wilder
(close: pd.Series, n: int = 14)
scripts/examples/nvda-decision/template/scripts/price_pack.py:28
↓ 1 callersFunctionrunLabel
(r: RunSummary)
frontend/src/shared/components/layout/AppSidebarRunList.tsx:26
↓ 1 callersFunctionsaveRun
()
frontend/src/features/trace/components/detail/TraceDetailHeader.tsx:57
↓ 1 callersFunctionscan_traces
(state: &AppState)
crates/flowtrace-cli/src/serve/scope.rs:41
↓ 1 callersFunctionscope_owning
For a scope-relative path like `dream-analysis/runs/<id>/foo/x.png`, find the trace root that owns it. Returns (trace_root, path_relative_to_root).
crates/flowtrace-cli/src/serve/routes/assets.rs:193
↓ 1 callersFunctionsectionLabel
(key: string)
frontend/src/features/trace/components/detail/file-preview/renderers/JsonPreview.tsx:457
↓ 1 callersFunctionserve_at_commit
Resolve `<scope-rel-path>` against scope roots → find the trace folder that owns it → ask libgit2 for the bytes at that commit. Sets `ETag: <blob_oid
crates/flowtrace-cli/src/serve/routes/assets.rs:136
↓ 1 callersFunctionserve_or_index
(path: &str)
crates/flowtrace-cli/src/serve/embed.rs:19
↓ 1 callersFunctionserve_range
(bytes: &Bytes, range: &str, mime: &str)
crates/flowtrace-cli/src/serve/routes/assets.rs:231
↓ 1 callersFunctionshoot
()
frontend/scripts/screenshot-wechat-preview.mjs:42
↓ 1 callersFunctionshow_at
Return the bytes of `rel_path` as it existed at commit `sha`. Errors if the commit or path does not exist in that tree.
crates/flowtrace-cli/src/git.rs:420
↓ 1 callersFunctionshutdown_signal
()
crates/flowtrace-cli/src/serve/mod.rs:154
↓ 1 callersFunctionsignature
()
crates/flowtrace-cli/src/git.rs:99
↓ 1 callersFunctionsmartFormat
(value: any)
frontend/src/features/trace/components/detail/file-preview/renderers/JsonPreview.tsx:17
↓ 1 callersFunctionsmartFormat
(value: any)
frontend/src/features/trace/components/detail/file-preview/renderers/JsonlPreview.tsx:10
↓ 1 callersFunctionspawn_heartbeat
Spawn the SSE keepalive heartbeat (every 15s). Without this the reverse-proxy may close the connection on idle.
crates/flowtrace-cli/src/serve/watcher.rs:123
↓ 1 callersFunctionsplit_root
Split `reply.evidence.figure` into (`reply`, `["evidence", "figure"]`). Errors with a hint if the root is unknown.
crates/flowtrace-cli/src/explain.rs:53
↓ 1 callersFunctionstatusOf
(r: RunSummary)
frontend/src/shared/components/layout/AppSidebarRunList.tsx:8
↓ 1 callersFunctionstep_into
Descend one path segment. Handles: - object properties (`reply.headline`) - array elements as transparent (`evidence.figure` resolves directly to the
crates/flowtrace-cli/src/explain.rs:151
↓ 1 callersFunctionstripFrontMatter
Strip YAML front-matter and parse a few useful fields (reads/writes/display_name).
frontend/src/features/trace/components/detail/file-viewer/parts.tsx:188
↓ 1 callersFunctionstripProxyInjections
Remove CDN/proxy injections (Cloudflare Rocket Loader, etc.).
frontend/src/features/trace/components/detail/file-preview/renderers/HtmlPreview.tsx:24
↓ 1 callersFunctionstyle
(doc_title: str)
scripts/examples/nvda-decision/template/scripts/typeset.py:100
↓ 1 callersFunctiontagged_variant_field
Same as `tagged_variant_value` but returns the property *name* (e.g. `type`, `kind`) — the JSON key that holds the discriminator. Used so the variant
crates/flowtrace-cli/src/explain.rs:205
↓ 1 callersFunctiontodo_re
()
crates/flowtrace-core/src/validate.rs:101
↓ 1 callersFunctiontoggleColumn
(col: string)
frontend/src/features/trace/components/detail/file-preview/renderers/JsonPreview.tsx:263
↓ 1 callersFunctiontrace_id_re
()
crates/flowtrace-core/src/validate.rs:94
↓ 1 callersFunctiontree_contains_path
(tree: &git2::Tree, target: &Path)
crates/flowtrace-cli/src/git.rs:236
↓ 1 callersFunctionunwrapStructuredInput
Unwrap nested {input: ...} wrappers.
frontend/src/features/trace/components/detail/output-card/index.tsx:50
↓ 1 callersFunctionunwrap_container
Transparently unwrap one layer of container indirection (array → items, map → additionalProperties). Returns the element schema if a container, else r
crates/flowtrace-cli/src/explain.rs:365
↓ 1 callersFunctionupdateWidth
()
frontend/src/features/trace/components/detail/file-preview/renderers/PdfPreview.tsx:107
↓ 1 callersFunctionupdate_seq_after_collision
Update the in-process seq cache after a collision: pick `max(observed + 1, cached + 1)`.
crates/flowtrace-cli/src/reply.rs:145
↓ 1 callersFunctionuseFileClickListener
(callback: (data: FileClickEventData) => void)
frontend/src/features/trace/lib/file-preview-bus.ts:57
↓ 1 callersFunctionuseNodeEnterObserver
( containerRef: React.RefObject<HTMLElement | null>, )
frontend/src/features/trace/components/detail/node-map/useNodeEnterObserver.ts:19
↓ 1 callersFunctionuseRunCommits
(runId: string | undefined)
frontend/src/features/trace/api/trace-core.ts:32
↓ 1 callersFunctionuseRunHistoryListener
(callback: (data: RunHistoryEventData) => void)
frontend/src/features/trace/lib/file-preview-bus.ts:65
↓ 1 callersFunctionuseRunReplies
(runId: string | undefined)
frontend/src/features/trace/api/trace-core.ts:193
↓ 1 callersFunctionuseRunStateAt
(runId: string | undefined, sha: string | undefined)
frontend/src/features/trace/api/trace-core.ts:172
↓ 1 callersFunctionuseTrace
(traceId: string | undefined)
frontend/src/features/trace/api/trace-core.ts:128
↓ 1 callersFunctionuseTraceDetail
(traceId: string)
frontend/src/app/traces/[trace_id]/useTraceDetail.ts:17
↓ 1 callersFunctionuseTraceSseBridge
()
frontend/src/shared/lib/sse-client.ts:186
↓ 1 callersFunctionvalidate_relative
Validate a run-relative path. Returns the first reason it's not acceptable, or `Ok(())` if it can be stored as-is (after normalize).
crates/flowtrace-core/src/paths.rs:16
↓ 1 callersFunctionvisit
(el: Element)
frontend/src/features/trace/components/detail/node-map/useNodeEnterObserver.ts:42
↓ 1 callersFunctionwalk
(node: any)
frontend/src/shared/components/EnhancedMarkdown.tsx:44
↓ 1 callersFunctionwrapBareMath
(text: string)
frontend/src/shared/components/EnhancedMarkdown.tsx:98
↓ 1 callersFunctionwrapUnfencedCode
(text: string)
frontend/src/features/trace/components/detail/output-card/shared/FileChip.tsx:25
FunctionActiveCommitDetail
({ sha, isLatest, activeAt, stepStateAt, stepId, traceId, runId, }: { sha: string isLatest: boolean ac
frontend/src/features/trace/components/detail/run-history/RunHistoryModal.tsx:183
FunctionAgentDetailPage
()
frontend/src/app/traces/[trace_id]/page.tsx:13
FunctionAgentDetailPageContent
()
frontend/src/app/traces/[trace_id]/page.tsx:7
FunctionApp
()
frontend/src/App.tsx:16
FunctionAppSidebar
({ sessionsListRef }: { sessionsListRef?: React.RefObject<HTMLDivElement | null> })
frontend/src/shared/components/layout/AppSidebar.tsx:18
FunctionAppSidebarHeaderLogo
({ isSidebarExpanded, toggleSidebar, logoSize, }: { isSidebarExpanded: boolean toggleSidebar: () =>
frontend/src/shared/components/layout/AppSidebarSessionList.tsx:8
FunctionAppSidebarRecentProjects
({ recentAgents, pathname, router, }: AppSidebarRecentProjectsProps)
frontend/src/shared/components/layout/AppSidebarSessionList.tsx:74
FunctionAppSidebarRunList
({ traceId, currentRunId, onSelectRun, }: { traceId: string currentRunId: string | null onSelectRu
frontend/src/shared/components/layout/AppSidebarRunList.tsx:40
FunctionAppendixLink
({ markdown, title }: AppendixEvidence)
frontend/src/features/trace/components/detail/output-card/OutputCardEvidence.tsx:512
FunctionAppendixSection
({ appendixes }: { appendixes: AppendixEvidence[] })
frontend/src/features/trace/components/detail/output-card/OutputCardEvidence.tsx:543
FunctionAssetList
({ assets, sha, stepId, traceId, runId, }: { assets: string[] sha: string stepId: string traceId: st
frontend/src/features/trace/components/detail/run-history/RunHistoryModal.tsx:292
FunctionBadge
({ className, variant, asChild = false, ...props }: React.ComponentProps<"span"> & VariantProps<type
frontend/src/shared/components/ui/badge.tsx:28
FunctionButton
({ className, variant, size, asChild = false, ...props }: React.ComponentProps<"button"> & Variant
frontend/src/shared/components/ui/button.tsx:41
FunctionCard
({ className, ...props }: React.ComponentProps<"div">)
frontend/src/shared/components/ui/card.tsx:5
FunctionCardAction
({ className, ...props }: React.ComponentProps<"div">)
frontend/src/shared/components/ui/card.tsx:51
FunctionCardContent
({ className, ...props }: React.ComponentProps<"div">)
frontend/src/shared/components/ui/card.tsx:64
FunctionCardDescription
({ className, ...props }: React.ComponentProps<"div">)
frontend/src/shared/components/ui/card.tsx:41
FunctionCardFooter
({ className, ...props }: React.ComponentProps<"div">)
frontend/src/shared/components/ui/card.tsx:74
← previousnext →301–400 of 672, ranked by callers