Skip to content

feat: 增加记忆后端状态聚合接口 - #122

Merged
Eynzof merged 3 commits into
mainfrom
cn/P-055-memory-backend-monitor
Jul 28, 2026
Merged

Eynzof merged 3 commits into
mainfrom
cn/P-055-memory-backend-monitor

Conversation

@Eynzof

@Eynzof Eynzof commented Jul 28, 2026 •

Copy link
Copy Markdown
Owner

变更

  • 修复 OpenViking 直接 endpoint 配置可用性判断
  • 支持 provider 配置只保存不激活
  • 新增 OpenViking/Hindsight 运行状态聚合接口与安全脱敏
  • 覆盖离线、部分失败及 Hindsight 旧版 runtime-config 降级
  • 更新 models.dev 离线快照与能力字段解析
  • 为模型补充视觉、音频、视频、PDF、工具、推理、可调推理、开源和上下文能力
  • 让 custom:{provider} 复用规范供应商元数据,例如 custom:deepseek

验证

  • 相关记忆后端 Core pytest:通过
  • 本轮模型元数据与 inventory pytest:84 项通过
  • 相关 Ruff:通过
  • 本机 OpenViking 0.3.26.dev3 与 Hindsight 0.8.2 实机聚合:通过

配套 Desktop

@Eynzof
Eynzof merged commit 64109b4 into main Jul 28, 2026
33 checks passed
@Eynzof
Eynzof deleted the cn/P-055-memory-backend-monitor branch July 28, 2026 15:06
MaxwellGengYF added a commit that referenced this pull request Aug 6, 2026
Adapt the fork line's tests/handlers to dev-020's refactored modules while
keeping the fork's behavior improvements:
- process_registry: pin _resolve_shell in the Popen-leak test (spawn_local
  now resolves the shell first per P-058).
- terminal_dynamic_description: P-058 test uses dev-020's '(use read_file)'
  phrasing.
- terminal_task_cwd: rebuild as fork's 13 tests + dev-020's
  test_explicit_workdir_does_not_persist (orjson + terminal_output_stream
  imports restored).
- system_prompt: profile hint + Managed Desktop block go to
  post_workspace_parts (dev-020's cache layout); test expects P-057 text
  with native separators.
- web_server: fix activate-gate indentation (handler returned None/200);
  add activate field already in web_models; keep #122's memory_char_limit
  field. Adapt fork tests: 422 pagination validation (dev-020 Query(ge=0)),
  drop replace_messages on compression-closed session, mock
  transcribe_audio(**kwargs) + import orjson.
- tui_gateway: port P-056 non-string text rejection (-32602) into
  methods_prompt, add magic-byte validation to image.attach_bytes (4016),
  port fork's cron.manage success=False/ValueError->4023 classification.
- release-runtime: verify loop covers bundled web providers (ddgs, exa_py,
  firecrawl_py, parallel_web) matching the merged pyproject cn-desktop
  extra.
- web plugin imports: keep dev-020 absolute package-path style; update the
  fork's relative-import test to guard it.

All related tests pass except the pre-existing MSYS pathconv failure
(test_init_session_bootstrap_rewrites_backslash_snapshot_paths), which
also fails on untouched dev-020.
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.

1 participant