This release adds 4 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+1 more
Summary
AI summaryBroad release touches 修复, fix, 🧪 Testing, and feat.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Medium |
Adds P7 big board red‑green light structured alert rule. Adds P7 big board red‑green light structured alert rule. Source: llm_adapter@2026-05-29 Confidence: high |
— |
| Feature | Medium |
Adds AnalysisContextPack P2 builder to assemble internal context from pipeline artifacts. Adds AnalysisContextPack P2 builder to assemble internal context from pipeline artifacts. Source: llm_adapter@2026-05-29 Confidence: high |
— |
| Feature | Medium |
Adds default‑off visible conversation context compression for AskStock. Adds default‑off visible conversation context compression for AskStock. Source: llm_adapter@2026-05-29 Confidence: high |
— |
| Feature | Medium |
Adds automatic remote refresh and caching for stock autocomplete index. Adds automatic remote refresh and caching for stock autocomplete index. Source: llm_adapter@2026-05-29 Confidence: high |
— |
| Dependency | Medium |
Raises `exchange-calendars` minimum version to 4.13.0 to avoid pandas 3 Timedelta unit breakage. Raises `exchange-calendars` minimum version to 4.13.0 to avoid pandas 3 Timedelta unit breakage. Source: llm_adapter@2026-05-29 Confidence: high |
— |
| Bugfix | Medium |
Fixes stock autocomplete index failure when pypinyin missing. Fixes stock autocomplete index failure when pypinyin missing. Source: llm_adapter@2026-05-29 Confidence: high |
— |
| Bugfix | Medium |
Normalizes Tencent real‑time volume to stock mouthful units. Normalizes Tencent real‑time volume to stock mouthful units. Source: llm_adapter@2026-05-29 Confidence: high |
— |
| Bugfix | Medium |
Removes .env single‑file mount from default Docker deployment to avoid resource‑busy errors. Removes .env single‑file mount from default Docker deployment to avoid resource‑busy errors. Source: llm_adapter@2026-05-29 Confidence: high |
— |
| Bugfix | Medium |
Migrates macOS desktop runtime configuration to user data directory and migrates legacy files. Migrates macOS desktop runtime configuration to user data directory and migrates legacy files. Source: llm_adapter@2026-05-29 Confidence: high |
— |
| Bugfix | Medium |
Makes Windows desktop auto‑update silent after user confirmation and cleans up backend processes. Makes Windows desktop auto‑update silent after user confirmation and cleans up backend processes. Source: llm_adapter@2026-05-29 Confidence: high |
— |
Full changelog
新功能
- 落地 #1391 Phase 1 运行诊断最小链路:任务/SSE 追加 trace_id,并记录日线与实时行情 ProviderRun 快照。
- 告警中心新增 P7 大盘红绿灯结构化规则,支持
market_light_status与market_light_score_drop并复用现有 worker、触发历史、通知和冷却链路。 - 落地 #1391 Phase 2 运行诊断摘要:生成用户可读 RunDiagnosticSummary,提供历史报告诊断 API 与脱敏复制文本。
- 落地 #1391 Phase 3 运行诊断可见性:报告详情和任务面板默认折叠展示运行状态、trace 与可复制排障信息;后端通过
api/v1/history/{record_id}/diagnostics与context_snapshot.diagnostics提供历史链路回填。 - 新增 AnalysisContextPack P1 内部契约与脱敏序列化测试。
- 新增 AnalysisContextPack P2 builder,从普通分析 pipeline 已有 artifacts 组装内部上下文包。
- 问股新增默认关闭的可见对话上下文压缩,支持 Web 开关、Agent 高级 preset、滚动摘要和最近轮次原文保护,降低长会话 token 消耗。
- 股票自动补全索引默认支持从 GitHub main 远程刷新并缓存到本地,Web/CLI 分析入口失败时自动降级到内置索引,降低摘帽和更名后旧简称污染分析的概率。
- 普通分析与 Agent 运行时 Prompt 接入 AnalysisContextPack 低敏摘要,保持 history/API/Web 输出兼容。
改进
scripts/fetch_tushare_stock_list.py可对 A 股中带XD/XR/DR/N/C前缀的名称进行回填修正,供自动补全刷新流程默认使用。- Web 路由页面改为按需加载,降低首包体积并增加路由加载失败恢复提示。
- Web 完整报告 Markdown 抽屉改为按需加载。
- 新增市场阶段推断基线并明确盘前、盘中、午休、临近收盘、盘后和非交易日语义。
- 新增运行态市场阶段上下文构造与降级测试。
- 设置页配置帮助阶段性补齐 Web 设置页实际展示/可配置字段的中英双语文案,覆盖 Agent、回测、报告、通知路由、系统运行时、AI legacy、数据源和通知高级配置。
- P2-min:LLM Prompt 注入市场阶段上下文。
修复
- 股票自动补全索引生成缺少
pypinyin时改为直接失败,避免写出缺失拼音字段的降级索引。 - 归一腾讯实时行情成交量为股口径,避免量能变化倍数被放大并误导分析报告。
- Docker 默认部署移除
.env单文件挂载,避免 WebUI 保存配置时因os.replace更新挂载点触发Device or resource busy。 - 收敛 #1391 Phase 0 A 股代码归属边界:补齐
SH/SZ前缀场景的归属一致性,明确data_provider/baostock_fetcher.py、data_provider/pytdx_fetcher.py、data_provider/tushare_fetcher.py的本轮修复范围。 - 修复
STOCK_LIST使用裸 A 股代码时 Baostock 等数据源 fallback 的内部格式转换,保持用户配置继续使用 6 位股票编号。 - Windows 桌面端自动更新在用户确认重启安装后改为静默执行安装器,并在停止内置后端后清理进程引用,降低安装器提示“每日股票分析无法关闭”的概率。
- macOS 桌面端将运行时配置迁移到用户数据目录,并在旧
.app包内文件仍可访问时迁移.env、数据库和日志,避免后续替换升级后重新配置。 - 恢复 Agent/历史兼容快照中的关联板块与板块联动字段提取,修复新版首页报告缺少“板块联动”的回归问题。
- 修正 Web 设置帮助中 legacy 告警 JSON 字段名与静默时段投递语义说明。
- 修复 Web 中文设置页在数据源、通知、系统与 Agent 区域的配置标题、说明和关键下拉选项漏翻问题。
- 修复问股会话切换和首页任务重连后可能残留 Agent/分析任务进行中状态的问题。
- 问股 single-agent 新增 provider-aware trace 分轨,跨轮保留 DeepSeek V4 thinking + tool-call 的
reasoning_content与工具协议材料。 - 为 Akshare 新浪/腾讯 A 股历史兜底接口增加调用级超时,并补齐 Tushare
605xxx沪市代码路由回归测试,避免定时分析因数据源无响应而挂起。 - 将
exchange-calendars依赖下限提升到4.13.0,避免 pandas 3 环境导入交易日历时因 Timedelta 单位T失效导致分析失败。 - 交互式命令(钉钉会话、飞书会话、Telegram)触发的分析结果只回到来源会话,不再同时广播到静态通知渠道。
- 适配 Longbridge OAuth 2.0 认证与 token 缓存恢复,避免新后台无 Legacy Access Token 时长桥数据源被误判为未配置。
- Longbridge OAuth 路径在当前 SDK 不支持
OAuthBuilder/Config.from_oauth时明确日志降级,避免 Linux/Docker 仅可安装旧 SDK 时构建失败。 - 兼容 YFinance 日线返回未命名日期索引的场景,避免标准化后缺少
date列导致美股日线 fallback 中断。
文档
- 新增 #1391 Phase 0 运行诊断契约文档,明确 trace_id、诊断摘要、关键链路范围与脱敏/fail-open/retention 边界。
- 补齐告警中心 P8 文档与配置收口说明,明确 legacy JSON、高级规则、Web/API、Docker、GitHub Actions 与 Desktop 边界。
- 说明本次桌面修复仅覆盖 Windows NSIS 更新安装链路与后端进程生命周期清理;未改动设置项保存/模型运行时清理语义。移除此前误入的
docker/Dockerfilenpm registry变更,恢复部署构建与更新修复的职责隔离。 - 新增 AnalysisContextPack P0 上下文盘点,明确字段质量状态、现有状态映射和首版 pack 边界。
- 明确 #1391 Phase 2 的结构化检测告警为非配置迁移信号:
agent_max_steps/agent_orchestrator_timeout_s非法值会 fallback 至默认并产生日志告警,新增诊断链路仅新增context_snapshot/RunDiagnosticSummary读写字段,不改写litellm_model、agent_litellm_model、openai_base_url、LLM channel 路由或配置迁移语义。 - 补充 #1391 Phase 3 兼容性说明:记录后端诊断持久化、历史查询与通知回写链路变更边界与回滚策略,并补齐后端门禁级验证要求。
测试
- 收敛 #1391 Phase 3 后端/API 与 Web 回归检查:
./scripts/ci_gate.sh、test_pipeline_market_phase_context.py、test_analysis_api_contract.py、test_analysis_history.py、npm run lint、npm run build。 - 执行
python -c "import exchange_calendars as xcals; xcals.get_calendar('XSHG'); print('ok')"通过验证,以覆盖导入与交易日历初始化兼容性。
What's Changed
🤖 AI & Analysis
- feat: 新增 P7 大盘红绿灯结构化告警 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1419
- fix: 保留 macOS 桌面端升级配置 by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1432
- fix: 修复桌面端自动更新静默安装 by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1415
- feat: 注入市场阶段 Prompt 上下文 P2-min by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1442
- fix: [issue #1446] 支持股票自动补全索引远程刷新 by @Activer007 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1480
- fix: 为 Akshare 历史兜底接口增加超时保护 by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1465
- feat: 接入 AnalysisContextPack 低敏 Prompt 摘要 P3 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1491
- fix: support Longbridge OAuth token cache by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1490
📡 Data Sources
- fix: normalize Tencent realtime volume by @vinvcn in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1409
- fix: stock_list格式问题 (#1412) by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1413
- fix: add #1391 Phase 0 diagnostics and A-share code guards by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1435
- feat: add #1391 Phase 1 run diagnostics trace plumbing by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1441
- feat: add #1391 Phase 3 web diagnostic summaries by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1445
🔔 Notifications
- feat: add #1391 Phase 2 run diagnostic summaries by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1444
- fix: 交互式消息只回对应渠道而非全局广播 (#1501) by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1502
⚙️ Configuration
- chore: 稳定 Web vendor chunk 分包 PR - 1 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1418
- docs: 补齐告警中心 P8 文档收口 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1430
- feat: 问股可见对话上下文压缩(P1) by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1460
- fix: 补齐 Web 设置页中文文案映射并本地下拉选项翻译 by @Copilot in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1453
- feat: [issue #1199 PR3] 补齐 Web 设置页实际展示字段帮助信息 by @Activer007 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1450
- fix: 问股 single-agent 增加 provider-aware trace by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1473
🧪 Testing
- chore: 清理 API schema 的 Pydantic v2 弃用写法 (#1394 PR-A) by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1402
- chore: 拆分 Web 首包加载 (#1394 PR-B) by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1410
- fix: Docker 挂载 .env 文件时 os.replace()… (#1399) by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1401
- feat: 新增市场阶段推断基线 #1386-P0 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1424
- chore: lazy load report markdown drawer #1411 PR-2 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1425
- docs: 盘点 #1389 P0 分析上下文字段边界 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1433
- feat: 新增 P1a 运行态市场阶段上下文 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1434
- fix: restore board linkage for compatible history snapshots by @zbl-96 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1416
- fix: [issue #1446] refresh stale stock autocomplete index by @Activer007 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1462
- feat: 新增 AnalysisContextPack P1 内部契约 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1449
- fix: 修复问股和首页进行中状态残留 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1461
- feat: 新增 AnalysisContextPack P2 artifacts 组装器 by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1478
- chore: 抽取 AnalysisContextPack artifacts 构造 helper by @massif-01 in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1505
📝 Documentation
- fix: invalid unit abbreviation: T (#1485) by @ZhuLinsen in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1489
🔀 Other Changes
- chore: 规范 Git 换行符与二进制属性 by @Heluojiang in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1488
New Contributors
- @vinvcn made their first contribution in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1409
- @Copilot made their first contribution in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1453
- @Heluojiang made their first contribution in https://github.com/ZhuLinsen/daily_stock_analysis/pull/1488
Full Changelog: https://github.com/ZhuLinsen/daily_stock_analysis/compare/v3.18.0...v3.19.0
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Daily Stock Analysis
All releases →Beta — feedback welcome: [email protected]