98 KiB
Changelog
All notable changes to planet are documented here.
This project follows the repository versioning rule:
feature->+0.1.0improvement->+0.0.1(bugfix + 小功能混合)bugfix->+0.0.1
[0.29.1] — 2026-04-20
[0.30.0] — 2026-04-21
✨ Features
- Earth 新增真实地形图层:后端代理 Terrarium DEM 瓦片(
/api/v1/visualization/terrain/terrarium/{z}/{x}/{y}.png),前端新增terrain.js负责瓦片拉取、顶点位移与按海拔着色 - 设置弹窗新增"地形"分组,支持通过滑块实时调整地形图层透明度
🔧 Improvements
- 地形按钮改为异步加载,首次点击显示进度提示并在失败时自动回退
- 启动阶段改用
applyImmediateView直接应用初始视角,showStatusMessage/queueStatusMessage区分即时与队列态状态消息,加载中不再被临时状态打断 - 控制面板抽取
applyTerrainUiState/getViewRotation收敛地形切换与视角旋转的重复 UI 同步逻辑
[0.29.2] — 2026-04-21
✨ Highlights
- Earth 继续收口 HUD 交互与设置面板表现,设置弹窗改成更接近从按钮展开的窗口感,同时加入系统级 admin 入口
- 修正天球太阳方向与地球受光解耦后的日照逻辑,地表昼夜判断改为按太阳直射点经纬度落到地球贴图坐标
🔧 Improvements
- toolbar 进一步收成更贴近 hub 的浅弓形排列,并统一成与 HUD panel 一致的液态玻璃配色与透明度
- 设置弹窗与各 HUD panel 继续统一样式、等比缩放和头部基线,设置列表补充系统分组与 admin 跳转
- 所有 HUD panel 增加更统一的液态玻璃高光与 hover / press 反馈
🐛 Fixes
- 修复设置弹窗仍像旧圆角矩形、标题文案重复和从底边直直飞出的动画问题
- 修复天球与太阳方向混用显示校准导致中国白天仍落在夜面的日照错误
[0.29.1] — 2026-04-20
✨ Highlights
- Earth 加载状态条改成单一队列式通知面板,加载阶段不再因为步骤文案变化而回缩,也不会被其他通知打断
- 调整 brand panel 的呈现方式与昼夜/选中态可读性,让品牌区更自然、交互高亮在白天和黑夜里都更稳定
🔧 Improvements
- 移除旧的地球加载浮层结构,统一由 HUD 状态消息承载三点脉冲加载过程
- brand panel 改为无边框品牌层,仅保留轻微氛围光,不再因为非常规尺寸显得像第五块功能面板
- 温和收敛地球昼夜材质与主背光强度,保留昼夜辨识度的同时提升白天地表纹理和夜面交互可见性
🐛 Fixes
- 修复加载地球时通知条在步骤切换中反复缩短、其他状态消息抢占加载流程的问题
- 修复海缆、登陆点和 BGP 选中高亮在黑夜中过暗、在高光中过亮导致难以辨识的问题
[0.29.0] — 2026-04-20
✨ Highlights
- Earth 新增天球层第一版:引入真实全天星图、亮星层与太阳/月亮位置计算,地球场景首次具备可校准的天文背景
- 地球昼夜分隔升级为更明显的日夜增强效果,夜面、晨昏带和太阳方向联动更容易直接读出来
🔧 Improvements
- 新增
celestial.js模块和assets/celestial/资源目录,统一管理星图、亮星数据以及太阳/月亮与光照同步 - 卫星图例改为按倾角分组,严格固定为“赤道轨道 → 低倾角轨道 → 中倾角轨道 → 高倾角轨道 → 逆行轨道”顺序,并全部中文化
- 图层面板补齐关闭按钮,拖拽脱离左列后不再被流布局 margin 影响,能够真正贴到品牌面板下沿
🐛 Fixes
- 修复天球球壳放大后被相机 far plane 裁剪导致的外层黑环问题
- 修复图层面板在左侧上移时始终与 brand panel 保持额外间距的问题
[0.28.2] — 2026-04-20
✨ Highlights
- 修正媒体情报面板在
电视直播 / 态势聚合tab 间切换时的尺寸记忆逻辑,切回原 tab 后可恢复各自大小状态 - 清理
docs/根目录遗留的旧路径文档,只保留新的分组目录和归档目录,结束同一文档双路径并存状态
🔧 Improvements
media-panel切换逻辑改成按 tab 分别记忆尺寸状态,避免A -> B -> A时继续共用同一套外层尺寸- 目录整理真正完成收尾:旧的
docs/*.md平铺计划文档删除,继续以docs/agents / earth / backend / frontend / ops / ue5 / deprecated为唯一入口
🐛 Fixes
- 修复拉伸
media-panel后切换 tab 时,news-panel高度回退到旧默认值的问题 - 修复拉伸后切换 tab 导致面板视觉锚点异常的问题,切换时改为围绕当前卡片自身右下角进行尺寸恢复
[0.28.1] — 2026-04-20
✨ Highlights
- 收口 Earth 媒体情报面板命名,明确外层
media-panel与内部tv-panel / news-panel的职责边界 - 整理
docs/目录分组,并将已完成或已废弃的计划文档归档到docs/deprecated
🔧 Improvements
- 底部 tab 语义统一为
media-panel-tabs / media-panel-tab,并将文案更新为“电视直播 / 态势聚合” - 补充媒体面板、聚合新闻模块的注释说明,减少
tv-panel同时指代外层壳和内层直播 pane 的阅读歧义 - 更新 README、AI Provider README 与历史文档互链,适配新的
docs/agents / docs/earth / docs/frontend / docs/backend / docs/ops / docs/ue5分组结构
🐛 Fixes
- 修复媒体情报面板标题组在头部撑出多余空白的问题,去掉
hud-panel__title-group的无效弹性占位 - 修复聚合 tab 头部仍保留冗余固定标题的问题,现在仅显示区域标签
[0.28.0] — 2026-04-20
✨ Features
- 将 Earth 的“新闻直播”和“全球态势聚合”合并为统一的“媒体情报”面板,支持底部 tab 切换与共享标题栏操作区
- 聚合新闻不再单独占据一个 HUD 面板,而是作为媒体情报面板内的第二视图与直播协同呈现
说明:
- 当前结构中,外层 HUD 壳为
media-panel,内部 tab 内容区分别为tv-panel和news-panel
🔧 Improvements
- TV / News 面板切换加入底边锚定的 reform 动画,并继续保留拖拽、缩放和共享 HUD 行为收口
- 聚合新闻视图新增默认高度约束与内部滚动填充逻辑,避免初始高度过度膨胀
tv.js、news.js进一步清理共享 HUDPanel 迁移后的残留逻辑,收紧 tab / resize / reform 相关局部 helper
🐛 Fixes
- 修复媒体情报面板右下角缩放时高度异常抬升、标题栏被顶出视口的问题
- 修复直播/聚合 tab 切换时按钮高亮、内容切换和底边基准表现不一致的问题
[0.27.7] — 2026-04-16
[0.27.8] — 2026-04-20
🔧 Improvements
- Earth HUD 共享
HUDPanel默认展开/收缩逻辑继续收口,图例与图层面板统一使用同一套边缘阈值与箭头状态机 - 保持新闻直播面板现有特例折叠行为不变,避免播放器区域被默认折叠逻辑影响
🐛 Fixes
- 修复图例与图层面板展开/收缩箭头方向和实际动作不一致的问题
- 修复拖动到屏幕底边附近时初始箭头、拖动中箭头和点击后动作不同步的问题
[0.27.7] — 2026-04-16
🔧 Improvements
- 用户管理、数据源配置、电视直播源表格统一接入可折叠操作列,窄宽度下自动收起到下拉菜单,减少操作区挤压
- 电视直播设置改为表格总览 + 弹窗编辑模式,主表内容更紧凑,适合控制台一屏浏览
- Earth TV 面板新增失败源探测与自动回退恢复标记,便于值班时快速识别异常直播源
🐛 Fixes
- 修复 Settings 电视直播源新增后取消编辑会残留未保存草稿的问题
- 修复 Settings 删除直播源只改本地状态、刷新后恢复的问题,删除现在会立即持久化
- 修复 Users / DataSources / Settings 表格“备注/状态”和“操作”之间的空白占位列问题
- 修复
useCollapsedActions未释放ResizeObserver导致的潜在内存泄漏与重复回调问题
[0.27.6] — 2026-04-15
🔧 Improvements
- BGP 告警页表格纵向 overflow 修复:补全 flex 布局链,tabs content-holder 正确撑满剩余高度
- 用户管理表格横向滚动修复:采用 flex-fill 方案替换
height: auto !important,自定义滚动条 X 轨道位置对齐表格底部 - Playground 宽布局隐藏"服务状态"按钮:侧边栏可见时不显示冗余入口
- AI Chatbox 输入框失焦收起为单行,聚焦或有内容时展开完整 composer
[0.27.4] — 2026-04-14
🔧 Improvements
- info-card 改为懒加载动态挂载:页面初始 DOM 不再含隐藏的
#info-panel节点,仅首次点击交互元素时创建
[0.27.5] — 2026-04-14
🔧 Improvements
- 统一控制台多页面滚动体验:BGP、alerts、采集数据、用户管理、任务、设置、Playground 等区域接入自定义滚动条与表格滚动容器
- 优化 BGP 与 alerts 页响应式布局:顶部概览卡在窄宽度下优先重排,必要时才启用横向滚动,避免卡片裁切和全局滚动条接管
- 调整
situational alerts布局策略:统计卡按宽度在单行、两列和横滚之间切换,下方详情卡保持单行高度优先 - 实时采集进度优化:一键采集完成后在未刷新页面时保留 100% 完成态,不再错误归零
- 补充 UE5 MVP 融合方案文档,完善后续集成规划沉淀
🐛 Fixes
- 修复 BGP summary 与 alerts 顶部卡片在无真实溢出时误出现横向滚动的问题
- 修复 alerts 页面缩窄后外层全局竖向滚动被接管的问题,恢复“一屏内、内部滚动”的布局逻辑
- 修复
situational alerts在两排布局下详情卡竖向溢出的问题,改为更稳定的分区响应式排版 - 修复自定义滚动条交互反馈,悬停、聚焦、拖拽时颜色加深但不再显示多余外圈
[0.27.3] — 2026-04-14
🔧 Improvements
- TV panel meta 折叠展开方向稳定:底部锚定时向上生长,拖拽后(顶部锚定)通过 JS 补偿 top 保持播放器底部位置不变
- 修复 TV panel 展开/折叠时视频区域跳动问题:移除面板 min-height,使播放器高度在两种状态下保持一致
- 修正 TV panel meta toggle 箭头方向:展开朝下,折叠朝上
- 修复图例面板折叠按钮失效(legend-bar-btn 补充进拖拽排除列表)
- 调整图层搜索框图标尺寸为 20px,BR 缩放角标改为直角 L 形
[0.27.2] — 2026-04-14
🔧 Improvements
- 修复 brand copy 宽度不随内容收缩的问题,现在与 title 图片宽度保持一致
- 提取
--brand-copy-widthCSS 自定义属性,消除 160px / 172px 魔法数字重复
[0.27.1] — 2026-04-14
🔧 Improvements
- 面板拖拽新增 L 形边界约束,其他面板无法覆盖 brand 面板区域,并从右侧/底部自然卡边
- brand 组件引入
--brand-scale整体缩放变量,padding 与内容尺寸独立控制 - 图层控制面板宽度收窄(260px),与 brand 面板错落排列,间距调大
🐛 Fixes
- 修复搜索框
type="search"导致清除按钮重复显示的问题 - 修复
[hidden]属性被组件display规则覆盖的问题
0.27.0
Released: 2026-04-14
Highlights
- 全面重构 Earth HUD 布局:品牌面板、图层控制面板、信息详情卡片各自独立,支持拖拽与折叠,信息卡片改为跟随点击位置悬浮显示。
- 新增图层控制面板(Layer Panel),海缆、卫星、地形、BGP 等图层集中管理,支持关键字搜索过滤。
- Earth 大气层渲染升级,引入 Fresnel 着色器双层辉光效果和深度遮挡球体。
✨ Features
- 新增独立 Layer Panel(
js/controls.js,css/layer-panel.css),图层开关、搜索过滤、折叠收起,取代原工具栏弹出菜单 - 信息详情面板(info-panel)改为点击时定位到鼠标附近(
js/info-card.js),悬停改为轻量 tooltip,降低视觉干扰 - Earth 材质重构(
js/earth.js,js/constants.js):新增EARTH_MATERIAL_CONFIG,Fresnel 内外大气层辉光、深度遮挡球体,纹理加载独立为loadEarthTexture()
🔧 Improvements
- Earth Stats 面板改为 2 列 KPI 网格布局,支持拖拽和关闭(
css/earth-stats.css) - 数据加载改为分步串行(登陆点 → 海缆 → 卫星 → BGP → 纹理),每步之间 yield 帧,改善视觉渐现体验(
js/main.js) - 图层按钮状态更新逻辑统一至
updateLayerButtonState(),消除重复实现 - 海缆状态识别新增
active枚举值(兼容旧In Service)
0.26.1
Released: 2026-04-12
Highlights
- Cleaned up the first TV follow-up and replaced the dashboard sidebar's brittle one-off scroll behavior with a reusable
Scrollbarcomponent, so the new live module code is easier to maintain and the console navigation can scroll without layout jitter.
Improved
- Improved frontend/src/components/Scrollbar/Scrollbar.tsx, frontend/src/components/AppLayout/AppLayout.tsx, and frontend/src/index.css by extracting the sidebar scrollbar into a dedicated component with explicit
x / y / bothaxis support, hidden native scrollbars, compact account/version rows, and a sidebar-only vertical setup instead of the earlier patchwork CSS glued directly onto the layout.
Fixed
- Fixed frontend/public/earth/js/tv.js by refactoring repeated iframe/video reset paths into shared helpers, so TV source switching, empty-state fallback, and playback retry handling no longer duplicate cleanup logic across multiple branches.
0.26.2
Released: 2026-04-12
Highlights
- Stabilized the new reusable scrollbar work by restoring reliable sidebar visibility and extending the same floating scrollbar language to the Data Sources tables without letting scrollbars squeeze layout width or regress the console navigation.
Added
- Added frontend/src/components/Scrollbar/ScrollbarOverlay.tsx as an overlay variant that binds to existing scroll containers such as Ant Table bodies, so heavy data grids can adopt the new scrollbar visuals without replacing their built-in scrolling mechanics.
Improved
- Improved frontend/src/components/Scrollbar/Scrollbar.tsx, frontend/src/components/AppLayout/AppLayout.tsx, and frontend/src/index.css by reverting the sidebar to a reliable vertical-first scrollbar path, then reintroducing automatic dual-axis support with independent floating tracks that no longer hide the thumb when only the sidebar needs vertical scrolling.
Fixed
- Fixed frontend/src/pages/DataSources/DataSources.tsx and frontend/src/index.css so the built-in and custom datasource tables now use the new overlay scrollbar instead of native table scrollbars, keeping horizontal and vertical scrolling available without changing Ant Table’s internal layout behavior.
0.26.0
Released: 2026-04-12
Highlights
- Added an operator-facing TV live module to Earth, including backend-configurable live sources, a draggable/resizable live-news HUD window, default global news channels, and a dedicated settings workflow so the Earth page can open real news playback instead of only static telemetry.
Added
- Added backend/app/api/v1/tv.py, backend/app/services/tv_streams.py, and backend/app/services/collectors/news_live_streams.py to provide TV source configuration, public stream payloads, a guarded HLS proxy path, and a collector entry point for future world-news live-source ingestion.
- Added the Earth TV HUD workspace through frontend/public/earth/index.html, frontend/public/earth/js/tv.js, and frontend/public/earth/css/tv-panel.css, including toolbar access, draggable/closable behavior, resize support, direct video/HLS playback, iframe fallback, and per-channel external-open handling.
- Added docs/deprecated/earth-tv-live-module-plan.md and docs/earth/news-live-streams-collector-format.md to document the TV module rollout plan and the expected collector payload format for future curated live-channel ingestion.
Improved
- Improved frontend/src/pages/Settings/Settings.tsx, backend/app/api/v1/settings.py, and backend/app/core/datasource_defaults.py by adding TV source administration to system settings and registering the
news_live_streamsdatasource as a first-class configurable collector. - Improved backend/app/services/tv_streams.py by seeding a curated first-pass news channel catalog that now defaults to
CGTN EnglishYouTube playback while keepingCCTV-4as a built-in fallback and exposing additional Reuters, CGTN, DW, Al Jazeera, Arirang, ABP, and SABC entries for operator testing.
Fixed
- Fixed frontend/public/earth/js/tv.js and frontend/public/earth/index.html so HLS/video playback now actively attempts autoplay in the TV panel instead of only loading metadata and leaving the player visually idle.
- Fixed frontend/public/earth/css/tv-panel.css so the TV source selector and action controls better match the Earth HUD dark theme instead of falling back to a bright native dropdown presentation.
0.25.3
Released: 2026-04-11
Highlights
- Refined the Earth HUD visual system into a calmer operator-facing style, turned the top-left Earth brand into a real reusable component with language-driven rendering, and cleaned up duplicated brand assets so the page now has a single source of truth for HUD branding.
Added
- Added frontend/public/earth/js/brand.js as a reusable Earth
brandcomponent that renders the top-left logo/title/subtitle block from a shared config instead of hardcoding the structure in HTML. - Added frontend/public/earth/assets/brand/earth-logo.svg, frontend/public/earth/assets/brand/title-zh.svg, and frontend/public/earth/assets/brand/title-en.svg as the canonical Earth brand asset set.
Improved
- Improved frontend/public/earth/css/base.css, frontend/public/earth/css/hud.css, frontend/public/earth/css/coordinates-display.css, frontend/public/earth/css/legend.css, frontend/public/earth/css/earth-stats.css, and frontend/public/earth/css/toolbar.css by rebalancing the Earth HUD into a more restrained deep-blue control-room look instead of the earlier over-layered glass-and-neon mix.
- Improved frontend/public/earth/index.html, frontend/public/earth/js/main.js, and frontend/public/earth/js/constants.js by moving the Earth brand mount to a dedicated root and letting
HUD_CONFIG.brandLanguagechoose betweenzhandenwithout embedding the language decision in the DOM.
Fixed
- Fixed frontend/public/earth/css/info-panel.css so the Earth brand area now uses consistent
earth-brandcomponent selectors and English-specific typography hooks, avoiding the earlier one-offbrand-bannernaming drift and duplicated title styles.
0.25.2
Released: 2026-04-10
Highlights
- Refined the Earth HUD operator polish so settings now behave like a true bounded menu, HUD panels render at the correct scale from the first frame, and dragged panels animate cleanly into and out of maximized layout targets without drifting to screen edges.
Improved
- Improved frontend/public/earth/index.html by precomputing the initial
--hud-scalebefore Earth CSS loads, so HUD panels no longer flash at full size before shrinking to the target scale. - Improved frontend/public/earth/css/hud.css by cleaning up duplicated settings-modal close-button styles, aligning the settings title with the shared HUD title system, and constraining the settings sheet to a stable centered width instead of viewport-relative modal sizing.
Fixed
- Fixed frontend/public/earth/js/controls.js so dragged HUD panels now fly from their dragged positions into maximized layout targets, closed panels stay out of the transition, and restoring layout clears drag overrides back to the initial positions.
- Fixed frontend/public/earth/js/controls.js and frontend/public/earth/css/hud.css so layout transitions no longer visibly stick to screen edges before landing; the FLIP motion now composes with the existing corner transforms instead of fighting them.
0.25.1
Released: 2026-04-10
Highlights
- Cleaned up the first persistent Playground rollout, fixed sidebar submenu persistence to match the intended operator behavior, and added reusable code-hygiene rules to prevent this class of drift from accumulating again.
Improved
- Improved backend/app/services/playground_chat_service.py and frontend/src/pages/Playground/Playground.tsx by extracting repeated lookup, response, and request-action paths into shared helpers, reducing duplicated Playground flow code without changing behavior.
- Improved rules.md by adding a new
Code Hygiene - MANDATORYsection covering single-source-of-truth state, transitional cleanup, repeated-logic extraction, layout debugging order, and post-feature cleanup expectations.
Fixed
- Fixed frontend/src/components/AppLayout/AppLayout.tsx so first-level menu expansion now behaves correctly across in-app navigation:
采集与数据remains the default expanded group after refresh, while manually expanded groups stay open when navigating to their own child routes and reset only on page reload.
0.25.0
Released: 2026-04-10
Highlights
- Turned
AI Playgroundinto a persistent backend-backed chat workspace, added dedicated alert workspaces as a foundation for future situational analysis, and aligned the operator UI around a more structured AI + alerts workflow instead of one-off playground calls.
Added
- Added backend/app/models/playground_session.py, backend/app/models/playground_message.py, and backend/app/services/playground_chat_service.py so Playground conversations, execution state, edits, retries, and stop/resume semantics are persisted in the backend database rather than living only in browser state.
- Added backend/app/services/alert_ai_brief.py, backend/app/services/situational_alert_ai_brief.py, and the dedicated alert pages frontend/src/pages/Alerts/SystemAlerts.tsx, frontend/src/pages/Alerts/BGPAlerts.tsx, and frontend/src/pages/Alerts/SituationalAlerts.tsx to establish the alert-analysis foundation for later situational awareness expansion.
Improved
- Improved frontend/src/pages/Playground/Playground.tsx and frontend/src/index.css by rebuilding Playground into a true chatbox workflow with persistent history, edit-and-resend behavior, grounded message actions, responsive composer behavior, bottom-stick scrolling, and tighter mobile layout handling.
- Improved frontend/src/components/AppLayout/AppLayout.tsx, frontend/src/App.tsx, and frontend/src/pages/Alerts/Alerts.tsx by reorganizing navigation around
采集与数据,专题观测, and split alert entries so the app can scale to more observability and situational modules without turning the top-level UI into a single overloaded page. - Improved README.md and docs/agents/situational-awareness-foundation-plan.md by documenting the current AI/alerts base, planned situational-awareness direction, and the new persistent Playground foundation.
Fixed
- Fixed backend/app/services/playground_chat_service.py so background Playground runs explicitly commit state transitions, allowing frontend polling to observe real pending/thinking/answering/done states instead of seeing stale empty threads.
- Fixed frontend/src/services/situational-awareness/index.ts by removing the temporary mock gateway path, so Playground and alert-related AI flows now reflect the real backend/provider chain instead of local fake responses.
0.24.8
Released: 2026-04-10
Highlights
- Refined the BGP AI brief operator workflow so the tab now stays compact and metadata-focused, while the full Markdown brief opens in a bounded modal that respects the repo’s single-screen layout rules.
Improved
- Improved frontend/src/pages/BGP/BGP.tsx by turning the brief action row into a clearer
历史简报下拉框 + 查看 + 生成flow, keeping inline metadata visible in the tab while moving full Markdown reading into a dedicated modal workspace.
Fixed
- Fixed frontend/src/index.css and frontend/src/pages/BGP/BGP.tsx so the BGP brief modal no longer spills below the viewport; long brief content now scrolls inside the modal body instead of extending past the visible screen.
0.24.7
Released: 2026-04-10
Highlights
- Formalized repository release hygiene and frontend layout guardrails so repeated versioning chores and recurring layout regressions now have explicit repo-level rules instead of living only in conversation context.
Added
- Added release-workflow/SKILL.md, defining the repository release workflow for version bumps, changelog/version-history updates, minimal validation, and commit/push sequencing.
Improved
- Improved rules.md by adding mandatory release-workflow requirements and a new frontend layout constraint section covering single-screen workspaces, overflow ownership, tab-pane behavior, compact-mode expectations, and readable-card fallbacks.
- Improved frontend-layout-guidelines.md by summarizing the recurring Earth, Playground, BGP, and admin-layout regressions into concrete constraints for future frontend work, including “prefer scrollbars over unreadable compression” and “do not treat every tab as a table pane.”
0.24.6
Released: 2026-04-10
Highlights
- Tightened several backend hot paths outside the original BGP page fixes, stabilized BGP collector coverage after the recent query refactors, and rebuilt the BGP AI brief tab so saved Markdown briefs render and scroll like a proper operator workspace instead of collapsing inside the shared table layout.
Improved
- Improved backend/app/api/v1/datasources.py by replacing per-datasource task, count, and endpoint lookups with batched prefetch helpers, reducing the worst
1 + Nbehavior on the datasource list andtrigger-allflow. - Improved backend/app/api/v1/visualization.py by switching the main Earth-facing
CollectedDataendpoints tois_currentrecords, batching multi-source loads for aggregate endpoints, and removing stale Python-side dedupe paths from the hot route. - Improved backend/app/services/bgp_incidents.py and backend/app/services/bgp_enrichment.py by avoiding historical full-table infrastructure scans, narrowing observation baseline payloads to required columns, and pushing more ASN filtering into the database.
- Improved backend/app/api/v1/alerts.py, backend/app/api/v1/dashboard.py, and backend/app/api/v1/settings.py by collapsing several repeated count and settings queries into fewer aggregate or batched reads.
- Improved frontend/src/pages/BGP/BGP.tsx, frontend/src/index.css, and frontend/src/components/MarkdownRenderer/MarkdownRenderer.tsx by rebuilding the
AI 简报tab layout, fixing saved brief scrolling behavior, and extending the renderer to handle tables, separators, and stored metadata comments more gracefully. - Improved docs/frontend/ai-playground-development-plan.md by explicitly recording that the current BGP brief is only the first-stage summary flow and that regional prefix-geography analysis remains a planned Phase B follow-up.
Fixed
- Fixed backend/app/services/bgp_collectors.py and backend/app/services/bgp_enrichment.py so JSON field extraction no longer depends on the less portable
.astextpath that could break BGP collector endpoints in local environments. - Fixed the BGP AI brief tab in frontend/src/index.css and frontend/src/pages/BGP/BGP.tsx so long saved briefs are no longer compressed into a tiny clipped viewport by the shared tab/table overflow rules.
0.24.4
Released: 2026-04-09
Highlights
- Refined the
planet.shAI Provider rebuild UX so image rebuilds now feel like first-class scripted tasks, with clearer stage boundaries and cleaner fallback messaging instead of leaking raw Compose output into the terminal.
Improved
- Improved planet.sh by keeping AI Provider image build logs in a temporary file, surfacing stage-specific detail copy for
docker compose v2anddocker-compose v1, and showing an explicit success line when the image rebuild finishes before container health checks begin.
Fixed
- Fixed planet.sh so the AI Provider image rebuild stage no longer dumps raw Compose build output into the main spinner flow during normal successful runs.
- Fixed planet.sh so the
构建 AI Provider 镜像phase now ends with an explicit completion signal instead of visually blending into the subsequent container health-check phase.
0.24.3
Released: 2026-04-09
Highlights
- Extended
AI Playgroundfrom a minimal prompt form into a more repeatable diagnostics workspace, and hardenedplanet.shso AI Provider restarts can rebuild changed images and expose clearer Compose fallback behavior.
Improved
- Improved frontend/src/pages/Playground/Playground.tsx by adding preset scenarios, response metadata,
thinkingblock visibility, raw JSON inspection, and copy actions so the page works more like a proper AI diagnostics console. - Improved frontend/src/index.css by styling Playground presets, result metadata, raw response sections, and responsive action groups without breaking the single-screen workspace layout.
- Improved planet.sh so AI Provider restarts detect code/config changes, rebuild the image when needed, and surface which Compose path is being used during image and container operations.
Fixed
- Fixed the AI Provider restart path in planet.sh so code changes inside
aiprovider/no longer stay hidden behind an old container image afterrestart -a. - Fixed Compose error reporting in planet.sh by making the script explicitly show
docker compose v2first, thendocker-compose v1, and only fail after both execution paths are exhausted.
0.24.2
Released: 2026-04-09
Highlights
- Fixed the public-entry and AI diagnostics regressions introduced during the recent frontend routing and playground work, while also reducing the main frontend bundle by switching to route-level lazy loading and more targeted vendor chunking.
Improved
- Improved frontend/src/App.tsx by lazy-loading admin pages and large workspaces through
React.lazy()plusSuspense, so the initial frontend entry no longer pulls every route into the first bundle. - Improved frontend/vite.config.ts by adding targeted manual chunking for React, icon, network, and Earth-related vendor dependencies instead of leaving everything in one monolithic application bundle.
- Improved frontend/src/index.css by adding a shared route-loading state and making the Playground help panel size to its content instead of stretching to fill the sidebar.
Fixed
- Fixed frontend/src/App.tsx so anonymous visits to
/once again reach the public Earth entry through the existing/ -> /earthredirect instead of being intercepted by the login screen. - Fixed frontend/src/pages/Playground/Playground.tsx so cached provider status is shown immediately but still refreshed from the backend, avoiding stale diagnostics after
.envor provider changes within the same browser tab. - Fixed frontend/src/pages/Playground/Playground.tsx and frontend/src/index.css so the
测试说明card no longer over-expands and now fits its content more naturally in the sidebar.
0.24.1
Released: 2026-04-09
Highlights
- Refined the
/earthHUD into a cleaner class-first structure with responsive scaling, clearer CSS layer boundaries, and lower coupling between HTML, CSS, and runtime UI updates. - Hardened local startup conventions around Bun so frontend tooling, docs, and
planet.shbehave more predictably in fresh Ubuntu and mixed WSL environments.
Added
- Added frontend/public/earth/css/hud.css, extracting shared HUD panel surfaces, shared HUD typography rows, status messaging, tooltip overlays, and layout-expanded panel transitions out of the old monolithic base layer.
- Added frontend/public/earth/css/toolbar.css, isolating Earth toolbar, popover, zoom dock, liquid-glass button, and toolbar-tooltip behavior into a dedicated toolbar layer.
- Added explicit Bun package-manager metadata to frontend/package.json so the frontend package manager choice is declared instead of inferred from the lockfile alone.
Improved
- Improved frontend/public/earth/css/base.css by reducing it to app-shell concerns only: global tokens, Earth app container, loading panel, and shared animation primitives.
- Improved frontend/public/earth/index.html by wiring the new CSS layer order, standardizing HUD utility classes on
hud-panel-*, and replacing generic toolbar/tooltip hooks with more explicit Earth-specific classes. - Improved frontend/public/earth/css/info-panel.css, frontend/public/earth/css/coordinates-display.css, frontend/public/earth/css/legend.css, and frontend/public/earth/css/earth-stats.css by leaving only panel-specific responsibilities in each file after the shared HUD and toolbar primitives moved out.
- Improved frontend/public/earth/js/main.js, frontend/public/earth/js/controls.js, frontend/public/earth/js/ui.js, and frontend/public/earth/js/legend.js by aligning runtime DOM queries and generated markup with the new class-first HUD and toolbar structure.
- Improved frontend/public/earth/js/constants.js and frontend/public/earth/js/main.js by keeping HUD scaling configurable through extracted constants instead of scattering scaling assumptions through the main Earth entrypoint.
- Improved planet.sh by prepending
~/.local/binand~/.bun/binautomatically, preferring direct~/.bun/bin/bundetection, and auto-installing missinguv/buninstead of requiring the user's interactive shell config to expose them first. - Improved README.md, project_context.md, rules.md, and scripts/bootstrap-dev.sh by making the frontend Bun-only workflow explicit in both onboarding docs and command-line guidance.
Fixed
- Fixed the Earth HUD cleanup path where splitting styles previously left the page with a missing
base.cssentry and mismatched utility class names during the refactor. - Fixed several Earth UI update paths so toolbar tooltip text, legend re-rendering, status message classes, and mouse coordinate styling continue to work after removing legacy fallback selectors.
- Fixed the local developer bootstrap path where
planet.sh startcould fail in a clean Ubuntu or agent shell session simply because Bun or uv were installed outside the current shell's inheritedPATH.
0.24.0
Released: 2026-04-09
Highlights
- Added a dedicated
AI Playgroundadmin entry so operators can validate provider connectivity and run controlled situational-analysis prompts from the main frontend without introducing a separate UI service. - Established a first explicit frontend layout rulebook centered on single-screen workspaces, internal module scrolling, and BGP-style page composition for future admin pages.
Added
- Added frontend/src/pages/Playground/Playground.tsx, introducing the first dedicated AI testing workspace with provider status visibility, prompt/result tabs, and collapsible operator guidance.
- Added docs/frontend/frontend-layout-guidelines.md, documenting the repository standard for one-screen admin workspaces and module-local overflow handling.
- Added docs/frontend/ai-playground-development-plan.md, capturing the completed AI gateway/UI work and the next delivery phases for BGP briefs, evidence-first inputs, and future agent runtime expansion.
Improved
- Improved frontend/src/components/AppLayout/AppLayout.tsx and frontend/src/App.tsx by wiring
AI Playgroundinto the main admin navigation and route tree instead of pointing operators to a nonexistentaiproviderchat page. - Improved planet.sh by replacing the incorrect
localhost:8010/chatcloseout link with the frontendAI Playgroundentry. - Improved docker-compose.yml by attaching
./aiprovider/.envto theaiproviderservice so provider identity, model, and credentials actually reach the running container. - Improved README.md by linking the new frontend layout guidance and AI Playground development plan.
- Improved frontend/src/index.css by refining the Playground workspace into a notebook-friendly left-sidebar plus right-tabbed layout, reusing thin scrollbars, and making provider/help/result regions degrade more gracefully under constrained height.
Fixed
- Fixed the local AI status flow so provider configuration no longer appeared permanently
disabled / not configuredmerely becauseaiprovider/.envwas not mounted into the container. - Fixed repeated
Provider 状态refetching when switching away from and back to/playgroundby caching the last known provider status within the browser session until the operator explicitly refreshes it. - Fixed several Playground layout regressions where auxiliary panels could push the result area out of view or clip provider details without exposing internal scrolling.
0.23.4
Released: 2026-04-08
Highlights
- Fixed the BGP overview workspace so summary cards and tabular data now share viewport space more predictably, keeping the table header visible while preserving internal horizontal and vertical scrolling.
Improved
- Improved BGP.tsx by switching BGP tables from frontend pagination to in-table scrolling, setting explicit horizontal scroll baselines per tab, and reshaping the summary cards into a desktop two-row layout with a compact single-row horizontal strip on tighter screens.
- Improved index.css by hardening the BGP table layout chain from card body to Ant Design table body, so width overflow stays inside the table region and compact summary cards no longer consume unnecessary vertical space above the workspace.
- Improved release consistency by aligning VERSION, pyproject.toml, frontend/package.json, and uv.lock on the same
0.23.4bugfix version.
Fixed
- Fixed the BGP collector/events tables so shrinking the browser window no longer clips the table card frame without exposing a usable horizontal scrollbar.
- Fixed the BGP table region so the Ant Design header row is no longer obscured by an overgrown table body after the page switched to full-height internal scrolling.
- Fixed the BGP summary area so medium and large screens no longer collapse the six KPI cards into overly narrow single-row tiles.
0.23.3
Released: 2026-04-08
Highlights
- Refined
planet.shstartup and restart presentation so service bring-up, health checks, and frontend dev-server readiness are easier to follow in real time.
Improved
- Improved planet.sh by standardizing the script on
zsh, tightening frontend startup stage rendering, and making spinner-driven subtask feedback show up step by step instead of bunching at the end. - Improved planet.sh by clarifying health-check subtask copy, filtering noisy frontend startup lines, and aligning terminal output spacing across spinner and status rows.
Fixed
- Fixed several
zshcompatibility issues in planet.sh, including reserved variable name collisions duringrestartand container health checks. - Fixed planet.sh so frontend readiness animation no longer appears frozen while waiting for Vite startup and health probes.
0.23.2
Released: 2026-04-08
Highlights
- Hardened datasource retrigger handling so operators can safely force reruns without losing control of task state visibility or rollback behavior.
Improved
- Improved frontend/src/pages/DataSources/DataSources.tsx by mapping phase-local task percentages into a continuous overall progress bar, pre-checking running task status before retriggering, and consolidating the trigger/force-confirm flow.
- Improved planet.sh by polishing startup CLI output, reducing duplicated spinner cleanup, and standardizing log/help output around the newer terminal presentation.
Fixed
- Fixed forced datasource reruns in backend/app/services/collectors/base.py by rolling back invalid SQLAlchemy session state before marking cancelled or failed task cleanup, preventing
PendingRollbackErrorduring operator-triggered cancellation. - Fixed datasource trigger UX in frontend/src/pages/DataSources/DataSources.tsx so batch and single-source progress no longer jump straight to
100%on frontend-side status coercion while the backend is still reporting real progress.
0.23.1
Released: 2026-04-07
Highlights
- Fixed the BGP overview page so high-DPI and lower-height screens can keep the observation workspace visible within a single viewport.
Improved
- Improved BGP.tsx by switching the page to a height-aware shell, compact summary layout, and tabbed data workspace so observation tables retain the majority of the screen.
- Improved index.css by adding responsive BGP-specific compact spacing, denser table paddings, and an internal scroll region for collector coverage and event tables.
Fixed
- Fixed the BGP observation page on small or high-scale displays where stacked stats and full-height blocks consumed too much vertical space, leaving only a couple of visible table rows.
0.23.0
Released: 2026-04-07
Highlights
- Introduced a dedicated
aiproviderservice so the main backend now exposes stable AI business APIs while model-vendor integration lives behind an internal adapter boundary. - Added multi-protocol model access for
openai-compatible,claude-compatible, and nativeollamalocal-model flows, including local startup templates and service-aware restart controls. - Standardized Python runtime management on
uvacross backend andaiprovider, removing the old container-sidepip/requirements.txtinstallation path.
Added
- Added backend/app/api/v1/ai.py, exposing stable AI business endpoints for provider status and situational-awareness analysis.
- Added backend/app/services/ai_client.py, introducing an internal HTTP client for
backend -> aiprovidercalls with request-id propagation and lightweight retry. - Added aiprovider/main.py, aiprovider/provider_service.py, and related config/schema files to stand up the dedicated adapter service.
- Added aiprovider/.env.example and docker-compose.local-model.yml as ready-to-edit local-model templates.
- Added docs/agents/aiprovider.md, documenting architecture, configuration, single-machine and multi-machine deployment, and cross-service calling patterns.
- Added a dedicated
重启 AI Providercontrol path in Dashboard.tsx, system_control.py, and system_restart_runner.py.
Improved
- Improved backend-to-provider tracing by propagating
X-Request-IDthrough the AI call chain and returning the same header from both backend andaiprovider. - Improved resilience by adding lightweight retry handling to both
backend -> aiproviderandaiprovider -> model providerHTTP calls. - Improved operator workflow by folding
aiproviderstartup, health checks, restart support, and log viewing into planet.sh. - Improved planet.sh by adding bounded retry and container-health self-recovery for dependency installs, database startup,
aiproviderstartup, and interactive PostgreSQL boot paths. - Improved README.md by documenting the new
planet.shretry and health-check tuning environment variables with concrete override examples. - Improved container consistency by switching backend/Dockerfile and aiprovider/Dockerfile to
uv sync/uv run.
Changed
- Changed the repository Python dependency source of truth to
pyproject.toml + uv.lock, and removed the oldbackend/requirements.txtpath. - Changed local restart wording in the dashboard from the vague
重启服务器label to the more specific重启后端, reducing ambiguity onceaiproviderbecame independently restartable.
0.22.14
Released: 2026-04-07
Highlights
- Completed the pending prefix-geography collector add-ons by shipping dedicated
OpenGeoFeedandNRO delegated statscollectors. - Finalized this slice as a bugfix release (
+0.0.1) with version metadata synchronized across backend/frontend lockfiles.
Added
- Added opengeofeed.py, introducing
opengeofeed_prefix_geoingestion for high-confidence geofeed-backed prefix geography overrides. - Added nro_delegated.py, introducing
nro_delegated_prefix_geoingestion for registry-allocation fallback geography.
Improved
- Improved collector registration wiring to include the new prefix-geography sources in the runtime collector registry and datasource catalog integration flow.
- Improved BGP roadmap traceability by aligning shipped collector capabilities with the staged prefix-geography strategy (override source + registry fallback source).
Fixed
- Fixed repository drift where datasource mappings and enrichment priority chain referenced
OpenGeoFeed/NROsource names before the corresponding collector modules were fully committed in-tree.
0.22.13
Released: 2026-04-07
Highlights
- Added zoom-aware drag sensitivity on Earth interaction so drag distance naturally becomes finer when zoomed in and faster when zoomed out.
- Shipped as a focused bugfix release (
+0.0.1) to improve operation feel without changing existing data/visual layers.
Improved
- Improved main.js by replacing fixed drag rotation gain with a dynamic factor derived from current zoom level.
- Improved main.js by introducing
getDragRotationFactor()so interaction tuning stays centralized instead of mixing formulas in pointer handlers. - Improved constants.js by adding explicit drag tuning knobs:
dragRotationFactorBase,dragRotationScaleMin, anddragRotationScaleMax.
Fixed
- Fixed the previous interaction mismatch where drag traveled the same angular distance regardless of zoom level, making close-up inspection too jumpy and far-view browsing too slow.
- Fixed maintainability drift where drag sensitivity had a hardcoded literal in logic code instead of configurable constants.
0.22.12
Released: 2026-04-02
Highlights
- Completed Earth
BGP / cables / landing pointsvisual-parameter consolidation so the latest overlap/size fixes are no longer scattered as magic numbers. - Shipped a bugfix version bump for the constant-extraction and marker-size stabilization work (
+0.0.1).
Improved
- Improved constants.js by introducing structured
BGP_CONFIGgroups (marker,pulse,ring,halo,sizeStabilization) and by extracting additional cable/landing-point render parameters intoCABLE_CONFIG. - Improved bgp.js by fully switching BGP marker/ring/pulse logic to the new nested constants, including collector status-core scale floors and distance/FOV-based size-stabilization knobs.
- Improved cables.js by removing hardcoded landing-point visual constants and centralizing base scale, pulse, dimming, opacity, emissive, and stabilization thresholds.
- Improved main.js by passing
camerathrough landing-point visual update/reset flows so stabilized sizing remains consistent during normal render-loop interactions. - Improved planning continuity in TODO.md by documenting the optional
HTML markermigration path for near-fixed screen-size BGP markers as a non-blocking follow-up.
Fixed
- Fixed drift from earlier iterative tuning where BGP/cable size and animation behavior depended on multiple dispersed literals, which made overlap and readability regressions more likely during subsequent tweaks.
- Fixed a partially applied refactor state where some BGP collector/status-core scaling still bypassed shared config, preventing clean global tuning.
Notes
- During this round, an over-tight marker-size clamp path was intentionally not kept; the final shipped config uses wider stabilization bounds so zoom-level response remains visible while still reducing overlap blow-up.
0.22.11
Released: 2026-04-02
Highlights
- Cleaned up the most obvious BGP/Earth cleanup leftovers from the recent stabilization work without changing the current user-facing interaction model.
Improved
- Improved bgp.js by factoring the BGP Earth loading flow into smaller helpers, separating timed GeoJSON fetch fallback from
incident vs anomalyrender-mode selection. - Improved bgp.js by extracting shared feature parsing helpers so anomaly and incident marker preparation no longer duplicate coordinate, severity, and timestamp parsing logic.
- Improved visualization.py by consolidating repeated BGP evidence geography parsing into a shared helper used by both anomaly and incident geography-hint builders.
- Improved planning hygiene in TODO.md by recording the deferred
bgp.jsresponsibility split as an explicit follow-up task instead of leaving the idea only in conversation context.
Refined
- Refined constants.js by removing stale Earth BGP configuration entries that were left behind after the floating event hub design was removed.
- Refined bgp.js by removing no-longer-used arc helpers that only served the deleted off-surface hub/link route.
- Refined visualization.py by dropping an unused
_lookup_prefix_geographyimport after the earlier rollback from expensive live prefix-geography visualization lookups.
Fixed
- Fixed the codebase drift where Earth BGP cleanup patches had left behind dead constants, duplicate parsing branches, and fallback-loading glue that was harder to reason about than the now-stable runtime required.
0.22.10
Released: 2026-04-02
Highlights
- Recovered the Earth-side BGP experience after a failed cache-busting / asset-loading refactor temporarily broke the globe runtime, removed textures, and made the BGP layer disappear when one backend endpoint timed out.
- Added a first usable
prefix_geographydata layer backed byIPtoASN / IP-to-Countryingestion so BGP geography can start moving away from pure collector-centric placement. - Reworked BGP Earth rendering to keep collectors visible under degraded backend conditions, restore symbol-based incident markers, and split icon pulse from outward event-ring animation.
Added
- Added a new
IPtoASN Prefix Geographycollector in iptoasn.py and registered it through data_sources.yaml, data_sources.py, datasource_defaults.py, and collectors/init.py. - Added country centroid helpers in countries.py so country-level prefix geography can produce map coordinates instead of only labels.
- Added a dedicated prefix-geography implementation note in prefix-geography-plan.md.
- Added recent
15mcollector activity dimensions to BGP coverage output in bgp_collectors.py and visualization.py. - Added additional BGP detector coverage for
route_leak_candidateandpath_flapflows in test_bgp.py. - Added a local Earth cloud texture at earth_clouds_1024.png to avoid remote cloud-map dependency failures.
Improved
- Improved BGP enrichment in bgp_enrichment.py so events now attach
prefix_geography,prefix_scope, ASN profile context, and country-centroid-backed geography hints in one place. - Improved incident aggregation in bgp_incidents.py so existing incidents refresh their regions and geography metadata instead of remaining pinned to stale first-generation evidence forever.
- Improved anomaly generation flow in bgp_common.py by cleaning up duplicate incident-seeding paths and only feeding newly created or refreshed anomalies forward.
- Improved Earth BGP loading in bgp.js so collectors are now the mandatory baseline layer while anomalies and incidents can fail independently without blanking the whole BGP surface.
- Improved Earth BGP marker language in bgp.js and constants.js by restoring typed event symbols, reducing additive white blowout, and making the incident ring animation read as an outward pulse instead of a generic glow blob.
- Improved Earth event animation semantics in bgp.js by separating icon pulse from ring expansion so the center marker can breathe while the ring expands independently.
- Improved Earth texture reliability in earth.js by switching clouds back to a local static asset under the restored
public/earthruntime. - Improved frontend boot noise in frontend/index.html by removing the default Vite favicon request that was generating irrelevant
vite.svgtimeouts during Earth debugging. - Improved project planning docs in bgp-context.md and TODO.md so the roadmap now explicitly prioritizes
activity layer,prefix-centric geography, and follow-up geofeed/whois work.
Fixed
- Fixed a failed Earth asset-versioning route where hand-applied cache-busting and a parallel Vite multi-entry experiment introduced duplicate module instances, broken
/earthboot paths, missing textures, and severe runtime instability; the globe has now been restored to the stablefrontend/public/earthruntime instead of the abandoned refactor path. - Fixed Earth cloud and terrain loading regressions by restoring the old static Earth entrypoint and ensuring local cloud and 8K day-map assets resolve again from
public/earth/assets. - Fixed a full-layer BGP disappearance regression where
bgp-anomaliesorbgp-incidentstimeouts caused the entire BGP layer to show0collectors and0events even though collector data still existed. - Fixed
prefix_geographylookups in bgp_enrichment.py that previously failed because JSON metadata access mixed SQL column names and ORM property names. - Fixed stale anomaly and incident geography reuse so pre-existing records can now absorb refreshed evidence instead of staying locked to older Amsterdam-centric geography forever.
- Fixed a wrong optimization path in visualization.py where live
prefix_geographylookups were pushed directly into Earth visualization endpoints, causingbgp-anomaliesandbgp-incidentsto time out under load; the visualization layer now prefers cached evidence again so Earth remains responsive. - Fixed Earth-side BGP fallback rendering so anomaly fallback no longer collapses into a single undifferentiated glow layer when incidents are unavailable.
- Fixed extreme incident brightness and same-coordinate blowout in bgp.js by removing additive blending from incident cores, reducing ring intensity, and deduplicating incident rendering at the coordinate level.
- Fixed the confusing floating BGP event hub in bgp.js by removing the suspended off-surface glow anchor and its arc links, leaving Earth incidents grounded on the globe surface with regional halo context instead.
0.22.9
Released: 2026-04-02
Highlights
- Polished startup wait messaging in
planet.shso the script no longer shows retry counters before an actual restart attempt happens. - Kept the service boot flow quieter during normal warm-up while preserving explicit retry feedback when a backend or frontend relaunch is really needed.
Improved
- Improved planet.sh wait-state messaging by simplifying the initial readiness output to
等待服务就绪...during health polling. - Improved operator readability during local startup by reserving numbered retry messages for real process restart attempts instead of normal first-pass health checks.
Fixed
- Fixed misleading startup output where the first health-check loop looked like an immediate retry sequence even though the service was still in its initial boot window.
0.22.8
Released: 2026-04-01
Highlights
- Fixed the configuration center form lifecycle so revisiting the Settings page no longer triggers Ant Design's
useFormwarning during async settings hydration. - Aligned repository version metadata across the backend, frontend, and lockfiles so the new bugfix release reports a consistent
0.22.8version everywhere.
Improved
- Improved settings data hydration in Settings.tsx by staging fetched system, notification, and security payloads in React state first instead of writing directly into form instances during the request callback.
- Improved settings form synchronization in Settings.tsx by delaying
setFieldsValue(...)until the page loading skeleton is gone, ensuring each Ant Design form is actually mounted before values are pushed into it. - Improved tab readiness in Settings.tsx by keeping the primary configuration tabs force-rendered so revisits and tab switches no longer race form instance registration.
- Improved release consistency by updating VERSION, pyproject.toml, frontend/package.json, frontend/package-lock.json, and uv.lock to the same bugfix version.
Fixed
- Fixed the
Instance created by useForm is not connected to any Form elementwarning in Settings.tsx, which could still reappear after navigating away from the configuration center and returning while settings were being refetched. - Fixed the timing bug where the page attempted to hydrate hidden/loading tab forms before the enclosing
Card loadingstate had mounted the real form tree.
0.22.7
Released: 2026-04-01
Highlights
- Fixed datasource bulk-collection progress so the realtime progress bar now tracks a dedicated batch lifecycle instead of collapsing back to zero when completed tasks drop out of the live running queue.
- Stabilized frontend WebSocket behavior by unifying dashboard subscriptions on the shared hook, reducing reconnect churn, and making local
/wsfallback handling more resilient. - Cleaned up several frontend console and type-check noise sources so the admin pages now run with a clean
tsc --noEmitresult.
Improved
- Improved bulk collection progress tracking in DataSources.tsx by introducing a separate
bulkProgressBatchstate that persists task outcomes across the fulltrigger-allbatch instead of averaging only the currently running tasks. - Improved datasource progress summaries in DataSources.tsx and index.css by replacing the previous ad hoc tag row with unified stat pills for total builtin sources, enabled sources, running tasks, successful batch completions, and failed batch items.
- Improved datasource notifications in DataSources.tsx by switching from static
message.*calls tomessage.useMessage(), which lets the page consume Ant Design context correctly under dynamic themes. - Improved WebSocket address selection in useWebSocket.ts so the client prefers same-origin
/ws, then falls back to direct backend access on local development hosts when the Vite proxy path is unavailable. - Improved dashboard realtime updates in Dashboard.tsx by removing the page-local WebSocket implementation and reusing the shared
useWebSockethook for thedashboardchannel. - Improved dashboard loading behavior in Dashboard.tsx by updating the initial spinner to Ant Design’s supported fullscreen pattern, eliminating the invalid
Spin tipwarning.
Fixed
- Fixed the bulk datasource progress regression where each finished task disappeared from the running queue and caused the overall progress bar to reset or jump backward mid-batch.
- Fixed stale batch summaries in DataSources.tsx by clearing completed
bulkProgressBatchstate once every tracked datasource reaches a terminal non-running state. - Fixed a WebSocket lifecycle bug in useWebSocket.ts where changing callbacks or unmounting during
CONNECTINGcould leave behind orphaned sockets or produce repeated browser-side “closed before the connection is established” noise. - Fixed repeated dashboard/admin websocket logic drift by consolidating channel subscription behavior into the shared hook instead of maintaining a second handwritten
new WebSocket(...)path in the dashboard page. - Fixed remaining frontend TypeScript hygiene issues in BGP.tsx and Settings.tsx by removing unused anomaly summary state and an unused
Spaceimport.
0.22.6
Released: 2026-04-01
Highlights
- Finished the remaining Earth-side BGP interaction changes that were left out of the previous push, so collector and incident selections now use the intended semantic linking behavior in the globe view.
Improved
- Improved main.js so BGP incident cards synthesize a clearer narrative summary when backend text is sparse, instead of exposing a thin raw summary.
- Improved main.js so incident selection reports impacted region counts and related cable counts directly in the Earth status message.
- Improved main.js so BGP incident-linked cables use a locked visual state, making event-to-cable correlation easier to read on the globe.
Fixed
- Fixed the omitted Earth-side BGP semantic update from the previous push by actually shipping the
incident nearby satelliteswording, incident narrative fallback, and related-cable lock highlighting in main.js. - Fixed collector selection semantics in main.js so selecting a BGP collector no longer triggers the weaker nearby-satellite hint and no longer dims cable and landing-point layers as if it were an incident state.
0.22.5
Released: 2026-03-31
Highlights
- Relaxed the BGP anomaly pipeline so realtime observation batches can produce visible anomaly and incident signals more consistently instead of staying observation-only.
- Added incident backfill-on-detection behavior so Earth and the BGP console can recover incident objects even when matching anomaly rows already existed from earlier ingests.
- Tightened BGP detector test coverage around low-signal withdrawal bursts, origin conflicts without historic baseline, and anomaly-to-incident regeneration.
Improved
- Improved bgp_detectors.py by broadening origin-change detection into a multi-origin conflict path when multiple collectors observe competing origins without a prior baseline.
- Improved bgp_detectors.py so more-specific burst detection groups on normalized supernets and accepts cross-collector clusters instead of only a same-root count heuristic.
- Improved bgp_detectors.py so mass-withdrawal detection can trigger on smaller but cross-collector withdrawal pairs, with severity and confidence scaled by collector spread and event count.
- Improved anomaly evidence payloads in bgp_detectors.py with collector counts, peer counts, unique prefixes, and deduplicated impacted regions, which gives Earth and downstream incident views stronger context.
- Improved bgp_common.py so incident aggregation now seeds from both newly created anomalies and already-existing matching anomalies, allowing missing incidents to be rebuilt during later ingests.
Fixed
- Fixed the “observations exist but anomalies/incidents stay at zero” failure mode where realtime BGP batches often produced no visible signals because detector thresholds were too strict for live traffic windows.
- Fixed the “existing anomaly but missing incident” gap where the pipeline only created incidents from freshly inserted anomaly rows and skipped rebuilding incident objects for already-known anomaly keys.
- Fixed stale BGP coverage test expectations in test_bgp.py by anchoring recent-window assertions to current UTC time instead of hard-coded past timestamps.
0.22.4
Released: 2026-03-31
Highlights
- Fixed the admin dashboard navigation so the dashboard no longer appears to hard-reload when operators click the current “仪表盘” entry.
- Smoothed dashboard revisits by caching the last stats snapshot, reducing visible loading flashes even when the page is remounted by navigation flow.
Improved
- Improved route ownership in App.tsx so the dashboard lives only at
/admin, while/no longer opens the admin dashboard directly. - Improved sidebar navigation behavior in AppLayout.tsx by replacing direct link rendering with guarded programmatic navigation that ignores clicks on the already-active route.
- Improved dashboard data reuse in Dashboard.tsx by caching the latest stats payload and reusing it on remount before the next refresh cycle completes.
Fixed
- Fixed the dashboard menu entry switching between
/and/admin, which caused the dashboard route to remount and replay its initial data-fetch/WebSocket bootstrap. - Fixed the most visible “reload” symptom on repeated dashboard clicks by preventing no-op navigation and avoiding an empty loading state when cached dashboard stats are available.
0.22.3
Released: 2026-03-31
Highlights
- Added a controlled restart console on the dashboard so
super_adminusers can trigger backend, database, or full-system restarts from the UI. - Unified restart operations behind
planet.shsemantics, including a new database-only restart flag and stale task recovery for interrupted restart jobs.
Added
- Added
/api/v1/system/restart-taskstask creation, task status, and task log endpoints in system_control.py. - Added restart-task Redis helpers and whitelist command mapping in system_control.py.
- Added detached restart runner orchestration in system_restart_runner.py.
- Added
-d/--databasesupport to planet.sh for database-only restarts. - Added restart control documentation in system-service-control.md.
Improved
- Improved the dashboard control surface in Dashboard.tsx with restart action selection, guided full-restart terminal output, persisted task log polling, and clearer modal layout.
- Improved dashboard restart styling in index.css with a dedicated toolbar, terminal panel, and scoped action button styles.
- Improved Vite dev proxy coverage in vite.config.ts so dashboard recovery polling can reach backend health checks during local development.
Fixed
- Fixed restart-task deadlocks by automatically releasing stale in-progress restart tasks before accepting a new one.
0.21.9
Released: 2026-03-30
Highlights
- Upgraded BGP ingestion from anomaly-only output to a layered pipeline with raw observations, enrichment context, detector modules, and aggregated incidents.
- Stabilized Earth and visualization data feeds so repeated collections no longer inflate satellite and other entity counts in the globe view.
- Brought the backend test suite back to green and expanded BGP-specific coverage across helpers, aggregation, and API endpoints.
Added
- Added raw BGP observation persistence in bgp_observation.py.
- Added aggregated BGP incident persistence in bgp_incident.py.
- Added BGP enrichment helpers in bgp_enrichment.py for prefix scope, AS path normalization, ASN organization context, and baseline tracking.
- Added modular BGP detector helpers in bgp_detectors.py.
- Added BGP incident aggregation helpers in bgp_incidents.py.
- Added
/api/v1/bgp/incidentsand/api/v1/bgp/incidents/{id}in bgp.py.
Improved
- Improved BGP collectors so ris_live.py and bgpstream.py now write observations before deriving anomalies.
- Improved anomaly generation in bgp_common.py by routing signals through enrichment and dedicated detector modules, then rolling them up into incidents.
- Improved the Earth cable layer in main.js so hide/show preserves loaded state correctly and stats remain visible while a layer is hidden.
- Improved backend visualization endpoints in visualization.py so repeated collections return only the latest unique entity records.
- Improved backend test coverage across test_bgp.py, test_api.py, test_collectors.py, test_models.py, and test_security.py.
Fixed
- Fixed Earth satellite overcounting caused by historical duplicate records being returned by visualization endpoints.
- Fixed BGP event APIs to read from observation records instead of the generic collected-data model.
- Fixed several stale backend tests so they match the current token, timestamp, collector, and API behavior.
0.21.8
Released: 2026-03-27
Highlights
- Improved Earth-layer performance controls so satellite and cable toggles now fully unload their scene/runtime state instead of only hiding objects.
Improved
- Improved the Earth satellite toggle to stop position/trail updates and release satellite rendering resources while disabled, then reload on demand when re-enabled.
- Improved the Earth cable toggle to unload submarine cable and landing-point objects while disabled so drag and interaction cost drops with the layer turned off.
- Improved Earth data reload behavior so disabled satellite and cable layers stay disabled instead of being implicitly reloaded during refresh.
0.21.7
Released: 2026-03-27
Highlights
- Added Earth-side BGP collector visualization support so anomaly markers and collector stations can be explored together.
- Refined the collected-data distribution treemap so square tiles better reflect relative volume while staying readable in dense layouts.
Added
- Added
/api/v1/visualization/geo/bgp-collectorsto expose RIPE RIS collector locations as GeoJSON. - Added dedicated Earth collector marker handling and BGP collector detail cards in the Earth runtime.
- Added collector-specific BGP visual tuning for altitude, opacity, scale, and pulse behavior.
Improved
- Improved the collected-data distribution treemap with dynamic square-grid sizing, clearer area-based span rules, centered compact tiles, and tooltip coverage on both icons and labels.
- Improved compact treemap readability by hiding
1x1labels, reducing1x1value font size, and centering icon/value content. - Improved Earth BGP interactions so anomaly markers and collector markers can both participate in hover, lock, legend, and info-card flows.
Fixed
- Fixed Earth BGP data loading gaps by adding the missing
bgp.jsruntime module required by the current control and visualization flow. - Fixed treemap layout drift where compact tiles could appear oversized or visually inconsistent with the intended square-grid distribution.
0.21.6
Released: 2026-03-27
Highlights
- Refined the Earth page interaction loop with object-driven legend switching, clearer selection feedback, and cleaner HUD copy/layout behavior.
- Improved the Earth info surfaces so status toasts, info-card interactions, and title/subtitle presentation feel more intentional and easier to scan.
Added
- Added click-to-copy support for info-card labels so clicking a field label copies the matching field value.
- Added runtime-generated legend content for cables and satellites based on current Earth data and selection state.
Improved
- Improved Earth legend behavior so selected cables and selected satellite categories are promoted to the top of the legend list.
- Improved legend overflow handling by constraining the visible list and using scroll for additional entries.
- Improved info-panel heading layout with centered title/subtitle styling and better subtitle hierarchy.
- Improved status-message behavior with replayable slide-in notifications when messages change in quick succession.
Fixed
- Fixed info-card content spacing by targeting the actual
#info-card-contentnode instead of a non-matching class selector. - Fixed cable legend generation so it follows backend-returned cable names and colors instead of stale hard-coded placeholder categories.
- Fixed reset-view and legend-related HUD behaviors so selection and legend state stay in sync when users interact with real Earth objects.
0.21.5
Released: 2026-03-27
Highlights
- Reworked the collected-data overview into a clearer split between KPI cards and a switchable treemap distribution.
- Added a direct Earth entry on the dashboard and tightened several admin-side scrolling/layout behaviors.
Added
- Added a dashboard quick-access card linking directly to
/earth. - Added collected-data treemap switching between
按数据源and按类型. - Added data-type-specific icons for the collected-data overview treemap.
Improved
- Improved collected-data summary behavior so overview counts follow the active filters and search state.
- Improved the collected-data treemap with square tiles, a wider default overview panel width, and narrower overview scrollbars.
- Improved responsive behavior near the tablet breakpoint so the collected-data page can scroll instead of clipping the overview or crushing the table.
Fixed
- Fixed the user-management table overflow issue by restoring
ant-table-bodyto auto height for that page so the outer container no longer incorrectly takes over vertical scrolling. - Fixed overly wide scrollbar presentation in collected-data and related admin surfaces by aligning them with the slimmer in-app scrollbar style.
0.21.3
Released: 2026-03-27
Highlights
- Upgraded the startup script into a more resilient local control entrypoint with retry-based service boot, selective restart targeting, and guided CLI user creation.
- Reduced friction when developing across slower machines by making backend and frontend startup checks more tolerant and operator-friendly.
Added
- Added interactive
createusersupport to planet.sh for CLI-driven username, email, password, and admin-role creation.
Improved
- Improved
startandrestartin planet.sh with optional backend/frontend port targeting and on-demand port cleanup. - Improved startup robustness with repeated health checks and automatic retry loops for both backend and frontend services.
- Improved restart ergonomics so
restart -bandrestart -fcan restart only the requested service instead of forcing a full stack restart.
Fixed
- Fixed false startup failures on slower environments where services needed longer than a single fixed wait window to become healthy.
- Fixed first-run login dead-end by ensuring a default admin user is created during backend initialization when the database has no users.
0.21.2
Released: 2026-03-26
Highlights
- Reworked the Earth page HUD into a bottom-centered floating toolbar with grouped popovers and richer interaction feedback.
- Unified toolbar and corner cards under a liquid-glass visual language and refined status toasts, object info cards, and legend behavior.
- Made the legend state reflect the currently selected Earth object instead of a fixed static list.
Added
- Added a reusable Earth legend module in legend.js.
- Added Material Symbols-based Earth toolbar icons and dedicated fullscreen-collapse icon support.
- Added click-to-copy support for info-card field labels.
Improved
- Improved Earth toolbar layout with centered floating controls, popover-based display toggles, and zoom controls.
- Improved Earth HUD visuals with liquid-glass styling for buttons, info cards, panels, and animated status messages.
- Improved info-card spacing, scrollbar styling, and object detail readability.
- Improved legend rendering so cable and satellite object selection can drive the displayed legend content.
Fixed
- Fixed tooltip coverage and splash copy mismatches in the Earth page controls.
- Fixed several toolbar icon clarity, centering, and state-toggle issues.
- Fixed status-message behavior so repeated notifications replay the slide-in animation.
0.20.0
Released: 2026-03-26
Highlights
- Stabilized the Earth big-screen module for longer-running sessions.
- Fixed satellite orbit generation by correcting TLE handling end to end.
- Added a reusable backend TLE helper and exposed
tle_line1 / tle_line2to the Earth frontend.
Added
- Added a dedicated Earth module remediation plan in earth-module-plan.md.
- Added backend TLE helpers in satellite_tle.py.
- Added backend support for returning
tle_line1andtle_line2from the satellite visualization API.
Improved
- Reworked the Earth module lifecycle with cleaner init, reload, and destroy paths.
- Improved scene cleanup for cables, landing points, satellite markers, and related runtime state.
- Reduced Earth interaction overhead by reusing hot-path math and pointer objects.
- Switched satellite animation timing to real delta-based updates for more stable motion.
- Reduced fragile global-state coupling inside the legacy Earth runtime.
Fixed
- Fixed white-screen risk caused by iframe cleanup behavior in development mode.
- Fixed incorrect client-side TLE generation:
- corrected line 2 field ordering
- corrected eccentricity formatting
- added checksum generation
- Fixed fallback orbit issues affecting some Starlink satellites such as
STARLINK-36158. - Fixed partial Earth data load failures so one failed source is less likely to break the whole view.
Notes
- The Earth frontend now prefers backend-provided raw TLE lines.
- Older satellite records can still fall back to backend-generated TLE lines when raw lines are unavailable.
- This release is primarily focused on Earth module stability rather than visible admin UI changes.
0.21.1
Released: 2026-03-26
Highlights
- Refined the Earth big-screen toolbar with clearer controls, hover hints, and more consistent visual language.
- Replaced emoji-based Earth toolbar controls with SVG icons for a cleaner HUD.
- Updated the Earth loading splash so manual reloads no longer show legacy wording.
Improved
- Improved zoom controls by adding tooltips for reset view, zoom in, zoom out, and resetting zoom to
100%. - Improved Earth toolbar readability with larger icons and revised glyphs for rotation, reload, satellites, trails, cables, terrain, and collapse.
- Improved loading overlay copy to better distinguish initial initialization from manual refresh.
Fixed
- Fixed rotate toggle rendering so play/pause state no longer relies on emoji text replacement.
- Fixed Earth autorotation target syncing so inertial drag is preserved while the globe is still coasting.
0.21.0
Released: 2026-03-26
Highlights
- Added legacy-inspired inertial drag behavior to the Earth big-screen module.
- Removed the hard 10,000-satellite ceiling when Earth satellite loading is configured as unlimited.
- Tightened Earth toolbar and hover-state synchronization for a more consistent runtime feel.
Added
- Added inertial drag state and smoothing to the Earth runtime so drag release now decays naturally.
Improved
- Improved drag handling so moving the pointer outside the canvas no longer prematurely stops rotation.
- Improved satellite loading to support dynamic frontend buffer sizing when no explicit limit is set.
- Improved Earth interaction fidelity by keeping the hover ring synchronized with moving satellites.
Fixed
- Fixed the trails toolbar button so its default visual state matches the actual default runtime state.
- Fixed the satellite GeoJSON endpoint so omitting
limitno longer silently falls back to10000. - Fixed hover ring lag where the ring could stay behind the satellite until the next mouse move.
0.19.0
Released: 2026-03-25
Highlights
- Refined data collection storage and history handling.
- Moved collected data away from several strongly coupled legacy columns.
- Improved data list filtering, metadata-driven detail rendering, and collection workflows.
Added
- Added collected data history planning docs.
- Added metadata backfill and removal-readiness scripts.
- Added version history tracking.
Improved
- Improved datasource task tracking and collection status flow.
- Improved collected data search, filtering, and metadata rendering.
- Improved configuration center layout consistency across admin pages.
Fixed
- Fixed several collected-data field mapping issues.
- Fixed frontend table layout inconsistencies across multiple admin pages.
- Fixed TOP500 parsing and related metadata alignment issues.
0.22.2
Released: 2026-03-31
Highlights
- Refined Earth BGP collector presentation so coverage sectors, scanning behavior, and surface-aligned station markers read more like a coherent observability layer.
Improved
- Improved BGP collector rendering with surface-aligned mesh icons, directional scanning sectors, and tighter sector geometry that stays closer to the globe surface.
- Improved collector icon styling by centralizing marker visual parameters in
BGP_CONFIG.collectorIconand restoring clearer low-saturation status color on the icon body. - Improved dense collector readability by widening overlap spreading and reducing default non-selected glow so stations stay legible without blooming into bright clusters.
0.22.1
Released: 2026-03-31
Highlights
- Refined the Earth HUD interaction model so panels and floating menus no longer leak pointer state into the globe runtime.
- Normalized
Escapehandling across hover menus, click-open menus, and locked scene selections.
Improved
- Improved floating toolbar behavior so
Escapenow closes visible secondary menus before clearing locked scene objects. - Improved toolbar hover recovery after forced close, avoiding double-hover reopening glitches.
- Improved control-module maintainability by deduplicating tooltip, menu, and hide-selection helpers.
Fixed
- Fixed HUD overlap cases where hovering panels could still leave stale scene hover state active.
- Fixed info card pointer blocking so panel regions consistently shield underlying globe interactions.
0.22.0
Released: 2026-03-31
Highlights
- Expanded the BGP stack from raw events into collector coverage, incident weak-correlation, and Earth-side observability overlays.
- Upgraded the BGP console and Earth runtime so collector baselines and nearby infrastructure context remain visible even outside active anomaly spikes.
Added
- Added BGP collector coverage APIs and dynamic GeoJSON enrichment for collector baseline metrics.
- Added weak correlation from BGP incidents to nearby landing points, cable names, and regional exchange hints.
- Added BGP collector coverage views in the admin console, including recent activity and baseline scope summaries.
Improved
- Improved Earth BGP rendering with clearer collector markers, activity-driven halos, selected coverage overlays, and nearby satellite highlighting.
- Improved incident presentation by surfacing related infrastructure directly in BGP incident listings and Earth detail cards.
- Improved BGP backend test coverage around collector coverage and infrastructure inference.
0.21.9
Released: 2026-03-31
Highlights
- Expanded the BGP pipeline with observations, enrichment, detectors, and incidents.
- Stabilized backend tests and improved visualization deduplication across repeated collections.
Improved
- Improved visualization APIs so repeated satellite and infrastructure collections no longer inflate rendered entity counts.
- Improved backend coverage for BGP observations, incidents, and API summaries.
Fixed
- Fixed several backend tests to match the current UTC serialization and collector behavior.