feat(sidebar): move Run Inspector under context tree - #411
Conversation
- Add amicode.runInspector WebviewView under the amicode container so it stacks vertically under Armonia + Catalog in the sidebar (320px). - New RunInspectorViewProvider reuses the existing inspector_bridge fan-out: registerInspectorPoster forwards run:iteration/pulse/completion to both the sidebar webview and the existing Work Column tab — no new RunsManager pipeline, live pulse streams to both surfaces. - Work Column tab remains for detailed plots; sidebar shows the always-visible summary (sparkline, iter/objective/fidelity, status) with 'Open in Work Column' action. Sidebar width trades detail for availability. Implements user request to move inspector to sidebar; preserves ADR 0006 rationale while giving a persistent view next to the context tree.
|
Warning Review limit reached
Next review available in: 46 minutes Limit details: You’ve used all 3 included reviews currently available under your plan. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Comment |
|
Closing — desired location is the in-app session sidebar as third tab (Files Changed | Context | Run Inspector), implemented in harmoniqs/opencode#211. VS Code sidebar view under Armonia/Catalog was the wrong container; keeping the Work Column + in-app sidebar instead. |
Moves the Run Inspector from the Work Column-only location to the sidebar, stacking under Armonia + Catalog in the
amicodecontainer — per user request.What / why
Current state is ADR 0006: inspector lives as a Work Column SolidJS tab fed via
inspector_bridge. Great for session binding, but it competes for editor width and isn't visible when the chat is the focus. Request was to have the inspector under the context tree (sidebar, always visible).Implementation
package.json: registeramicode.runInspectoras awebviewunderamicodecontainer (same container asarmonia/catalog) so it renders as a collapsible section below them at 320px.run_inspector_view.ts(new, 170 LOC):WebviewViewProviderthat reuses the existingregisterInspectorPosterfan-out — no newRunsManagerpipeline.run:iteration/run:pulse/run:completionstream to both sidebar + Work Column, so live solves stay in sync. Renders a lightweight sparkline + iter/objective/fidelity + status; 'Open in Work Column' jumps to the detailed plot.extension.ts: register the provider on activate.Trade-offs / why this is cheap now
Preview
sidebar-run-inspector-preview(hero) is live in your Amicode dashboard — Pin it to see the stacked Armonia / Catalog / Run Inspector mock with sparkline.pnpm --filter @amicode/amico-run build && pnpm --filter amicode build && vsce package→ install .vsix and reload — the Run Inspector appears under Catalog in the Amicode sidebar. Also works viapnpm run watch.Follow-ups