feat(web): add Inspect API tab with carousel trace viewer#99
Open
indie-rok wants to merge 1 commit intoshareAI-lab:mainfrom
Open
feat(web): add Inspect API tab with carousel trace viewer#99indie-rok wants to merge 1 commit intoshareAI-lab:mainfrom
indie-rok wants to merge 1 commit intoshareAI-lab:mainfrom
Conversation
|
Someone is attempting to deploy a commit to the crazyboym's projects Team on Vercel. A member of the Team first needs to authorize it. |
Add an interactive API Inspector tab to each session page that lets learners step through captured API traces one cycle at a time. - Carousel layout: one cycle per slide with animated transitions - Collapsible sections: Request/Response/Tool Execution collapsed by default with one-line summaries, click to expand - Structured tool display: parameters as key-value tables, output in terminal-style blocks (not raw JSON dumps) - Subagent detection: purple badges/dots for s04 subagent cycles by checking system prompt for 'subagent' - Teammate detection: pink badges with name/role for s09 team cycles (alice/coder, bob/tester) from system prompt parsing - Skill catalog: collapsible grid showing skills parsed from the system prompt (s05+) - Tool catalog: collapsible grid of available tools from request - micro_compact visualization: shows per-tool before/after with character savings and token estimates (s06+) - Dynamic trace loading: webpack context import auto-discovers trace JSON files, no hardcoded map to maintain - Pre-captured traces for s01-s09 via capture_trace.py - i18n labels for en/ja/zh
879db2a to
650a8fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello! Thank you for this amazing tutorial, it's the best I've found so far.
While learning agents, I've found it very productive to see the actual API request and response with all the context (tools, skills) and all the responses with a clear separation of what everything is doing. I am not sure if this is helpful for the project, but for me, it works great!
If this does not align with your vision of the project, please feel free to close this PR or suggest edits on the architecture of my solution!