You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(web): inspect prompt and tool-call trajectories #446
Add an inspectable trajectory view inspired by DeepSeek Harness ui-trajectory to the existing React workbench (#76, #346).
First slice: an ordered graph/ledger of persisted user prompts, assistant messages, tool calls and tool results; selecting a node shows bounded input/output evidence. Preserve repeated prompts and calls, match results by unambiguous tool identity, disclose omitted history and incomplete pairs. Keep the existing chat view and session/runtime ownership. No polling or model-facing changes.
Evidence boundary: Pi 0.85.1 Session records are not the final provider request. before_provider_request handlers may replace payloads after an observer; before_agent_start/context are earlier projections. Do not present reconstructed chat as final system prompt/tool schemas/request payload, or entry timestamps as execution durations. Accurate request capture and timing need a subsequent native-seam design.
Activity
tt-a1i commentedon Sep 7, 2026
第一阶段已由 #447 合并到 main:可检查持久化用户 Prompt、助手消息、Tool Call 与结果的有界轨迹视图。按该阶段范围关闭。
完整最终 Provider 请求捕获与权威执行耗时尚未实现,已拆为后续 #454;其中继续保留来源、身份、截断和不确定性边界,不把历史重建当成最终请求,也不把记录时间当成执行耗时。