Kanshō/Runtime files & context list

Runtime files & context list

Files/context-tab content: files read and written, context sources, memory retrieved for the current answer, and artifact previews.

Included in the single kansho full pack. Components are not offered as separate installs.

Populated

Files

3
src/audit/writer.tsread
src/audit/writer.tswritten
src/audit/batch.tswritten

Context sources

2
ADR-014 — audit log retentiondocs
postgres.org/docs/COPYdocs

Memory retrieved

1
Audit writes must batch in groups of 100 to stay under the WAL limit.
projectrelevance 0.92

Artifacts

2

audit-batch.diff

src/audit/batch.ts

+96 lines
Ready

bench-report.md

reports/bench-report.md

3.2 KB
Ready

Empty

No context yet

Files, sources, and retrieved memory will appear here.

Usage

Guidance
Do
  • Pass only the sections you have — each group hides when its array is empty.
  • Use it inside the runtime side panel of a workspace.
Don't
  • Duplicate the process list here — this view is about files and context, not runs.
When to use
Showing what files, context sources, memory, and artifacts a turn drew on.
When not to
Live process / tool-run status — use the runtime process list.

Props

API reference
PropTypeDescription
filesAccessedRuntimeFileAccess[]Files read or written this turn.
contextSourcesRuntimeContextSource[]Context documents pulled in.
memoryRetrievedRuntimeMemoryItem[]Memory facts recalled.
artifactsGeneratedFileCardProps[]Generated file artifacts.

Component documentation

Runtime Files Context List

components/workspace/runtime-files-context-list.tsx

Purpose

Groups accessed files, context sources, retrieved memory, and generated artifacts for a runtime turn.

Appropriate use

Use in a runtime inspector when operators need provenance and output context beside an agent conversation.

Example

components/workspace/runtime-files-context-list.tsx has a representative live example in the "Populated" section on /components/runtime-files-context-list.

States

File access is read or written; context sources are file, url, or link; every collection is optional and may be empty.

API and props

RuntimeFilesContextList accepts filesAccessed, contextSources, memoryRetrieved, artifacts, and className.

Dependencies

Direct imports are React, Lucide icons, GeneratedFileCard, EmptyState, RuntimeSection, and cn.

Accessibility

Sections and visible labels carry meaning, but the list adds no navigation or live-region behavior to changing runtime data.

Limitations

It displays caller-supplied paths and memory without redaction and does not open sources, calculate relevance, or fetch artifacts.

Source

Source: components/workspace/runtime-files-context-list.tsx.

Full pack

components/workspace/runtime-files-context-list.tsx is documented at /components/runtime-files-context-list and installs only through the single Kansho full pack; no individual component install is offered.