发布

  • [OPIK-6245] [FE] feat: show Ollie version in AppDebugInfo (#6551)

    frostbyte_neo 发布于 2026-04-29 19:01:34 +00:00

    • [OPIK-6245] [FE] feat: show Ollie version in AppDebugInfo

    Surface the assistant pod's manifest version next to OPIK_VERSION
    when Comet Debugger Mode (Meta/Ctrl+Shift+.) is on. Reuses the
    existing react-query cache (no extra network request) and renders
    nothing when the assistant is disabled or the pod isn't ready.

    • Extract manifest fetch into shared useAssistantManifest hook
      (consumed by both AssistantSidebar and the new AssistantDebugInfo)
    • New AssistantDebugInfo plugin component (V2 only, comet/dev folders)
    • Register AssistantDebugInfo slot in PluginsStore so OSS prod renders
      nothing
    • Polish AppDebugInfo / AppNetworkStatus sizing (size-4 icons, size-3
      copy, comet-body-xs-accented, size-1.5 status dots, gap-3 between
      blocks)

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

    • fix(plugins/comet): align shellUrl with manifestBase to avoid regressing #6549

    PR #6549 fixes shellUrl to use manifestBase. Carrying that fix forward
    in the new useAssistantManifest module so merge order between #6549
    and #6551 doesn't silently revert the fix.

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

    • chore(plugins): keep development/ uncommitted by repo convention

    The plugins/development/ folder is intentionally not tracked in this
    repo. Removing the re-export of AssistantDebugInfo from there; the
    component still loads via plugins/comet/ for Comet builds, and OSS
    builds correctly render nothing.

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

    • refactor(theme): replace hard-coded Ollie orange with --color-ollie token

    Adds --color-ollie to main.scss (light + dark modes, same #f46e41 value)
    and migrates the four existing callsites away from hard-coded literals:
    AssistantDebugInfo, TopBar, and OwlArt (whose paths now use currentColor
    with the variable applied via the wrapper).

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


    Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com

    下载附件