发布

  • fix(onboarding): keep auto-complete inside DemoProjectBanner where it's semantically needed

    frostbyte_neo 发布于 2026-04-20 17:25:56 +00:00

    Previous commit moved the hook into ConnectAgentStep to avoid the banner
    having to fetch the agent project. But ConnectAgentStep only mounts when
    the onboarding overlay is visible — so the hook would miss its primary
    use case: user on the demo project with stale onboarding state from a
    prior session (they have traces but never clicked "Explore Opik").

    Move it back to the banner and switch the param to agentName so the hook
    fetches the agent project itself via useProjectByName.

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

    下载附件