Skip to content

feat(web): classify tool evidence renderers - #378

Open
seekskyworld wants to merge 2 commits into
openpi-dev:mainfrom
seekskyworld:feat/issue-345-tool-evidence-kinds
Open

feat(web): classify tool evidence renderers#378
seekskyworld wants to merge 2 commits into
openpi-dev:mainfrom
seekskyworld:feat/issue-345-tool-evidence-kinds

Conversation

@seekskyworld

Copy link
Copy Markdown

Problem

Adds the renderer-input slice of #345. Tool results were rendered through one undifferentiated CSS/DOM path, making specialized file, diff, test, and terminal renderers difficult to add safely.

Value

The browser now receives stable semantic classes while preserving the existing bounded raw evidence fallback.

Approach

Classify known tool-name families into file, diff, test, terminal, or generic kinds at render time. No content inference, execution status inference, or raw evidence mutation is introduced.

Validation

  • git diff --check

Impact

  • User-visible behavior: no visual change unless a future stylesheet opts into the classes.
  • Model-visible context/tools: none.
  • Runtime/lifecycle: none.
  • Persisted config/data: none.
  • Compatibility/risk: unknown tools remain generic and safe.

Signed-off-by: seekskyworld <djh1813553759@gmail.com>
Signed-off-by: seekskyworld <djh1813553759@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant