Skip to content

Delete orphaned sidebar and inspector files in the starter overlay - #412

Merged
mrkoreye merged 1 commit into
templatefrom
korey/delete-orphaned-sidebar-inspector-files
Sep 30, 2026
Merged

mrkoreye merged 1 commit into
templatefrom
korey/delete-orphaned-sidebar-inspector-files

Conversation

@mrkoreye

Copy link
Copy Markdown
Contributor

Sync run 36644860440 failed typecheck with two TS2307s. Both files come from upstream and only exist for things the overlay already deletes:

  • app/components/layout/AgentInspector.test.tsx imports ./AgentInspector (deleted)
  • app/lib/sidebar-thread-state.ts (+ its spec) is only used by Sidebar.tsx (deleted), and imports a toolkit path that isn't in the published @agent-native/toolkit@0.23.1

Adds all three to delete.txt, same shape as #410. Previewed locally: apply.mjs is idempotent and pnpm typecheck passes.

Heads up: sync will still fail at pnpm build (unknown utility class bg-background) until agent-native publishes toolkit 0.198.0. That publish failed on a docs prerender error, being looked at separately.

🤖 Generated with Claude Code

templates/chat@bbe8cbf4 added AgentInspector.test.tsx, which imports
./AgentInspector, and sidebar-thread-state.ts, which only Sidebar.tsx
uses. The overlay already deletes both parents, so sync typecheck failed
with TS2307.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@BenGirone

Copy link
Copy Markdown
Contributor

I recall we wanted the agent to have some reference to go off of for the sidebar. I'm fine with merging this, but we should make a note to test the consistency of the sidebar when testing kyle's workspace skill

@mrkoreye

Copy link
Copy Markdown
Contributor Author

@BenGirone if there is hesitation i am happy to close, this was something found when attempting a fix for the template sync failing. What do you prefer?

@BenGirone

Copy link
Copy Markdown
Contributor

@mrkoreye more just thinking out loud 😅, these files in particular should be fine to delete an we have some instructions on sidebars in the front-end design skill anyway. should be good

@mrkoreye
mrkoreye merged commit 3771656 into template Sep 30, 2026
2 checks passed
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.

2 participants