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
3Context sources
2Memory retrieved
1Artifacts
2audit-batch.diff
src/audit/batch.ts
bench-report.md
reports/bench-report.md
Empty
No context yet
Files, sources, and retrieved memory will appear here.
Usage
Guidance- Pass only the sections you have — each group hides when its array is empty.
- Use it inside the runtime side panel of a workspace.
- 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| Prop | Type | Description |
|---|---|---|
| filesAccessed | RuntimeFileAccess[] | Files read or written this turn. |
| contextSources | RuntimeContextSource[] | Context documents pulled in. |
| memoryRetrieved | RuntimeMemoryItem[] | Memory facts recalled. |
| artifacts | GeneratedFileCardProps[] | Generated file artifacts. |
Component documentation
Runtime Files Context List
components/workspace/runtime-files-context-list.tsxPurpose
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.