Skip to content

TRACE v0.5.11

Choose a tag to compare

@peacezha peacezha released this 19 Oct 14:35

HPClaw v0.5.11 — 调度器按会话独立 + 资源板块联动 AI / Per-session scheduler + resources-to-AI

中文

  • 修复多集群调度器互相串台:此前"当前调度器"是全局唯一值——你在 A 集群切了调度器,B 集群的显示和命令也跟着变;A、B 来回切换时两边都显示错,监控还可能跑错命令报 Remote command exited with code 127(在 Donau 集群上跑 bjobs)。现在:调度器读取和手动切换都按会话独立——每个集群显示自己的、改自己的,互不干扰;作业采集也强制用该会话探测到的调度器。
  • 资源板块联动 AI:数据资源面板每个服务卡片新增"问 AI"——一键让 AI 告诉你这个服务能查什么、怎么查;"试一下"的返回结果新增"发给 AI 解读"。
  • AI 自动避开不可达的数据服务:面板的连通性测试结果会注入 AI 上下文——当前探测不可达的服务,AI 本轮不会再浪费调用,信息更准确、少绕弯路。

English

  • Fixed cross-cluster scheduler bleed: the "current scheduler" was one global value — switching it for cluster A changed cluster B's display and commands too, and monitoring could run the wrong command (Remote command exited with code 127 when running bjobs on a Donau cluster). Reads and manual switches are now per-session: each cluster shows and keeps its own scheduler, and job collection always uses that session's detected scheduler.
  • Resources panel ↔ AI: every service card gains an "Ask AI" action (the agent explains what the service can query and which parameters it needs), and every try-it result gains "Send to AI for interpretation".
  • AI skips unreachable data services: the panel's connectivity probe results feed the AI context — services currently failing the probe are not called this turn, making answers more accurate with fewer wasted calls.

验证

  • notifications/components/contextBuilder 384+54 例测试全绿;tsc 无错;调度器按会话读取/切换有服务端测试覆盖。
    EOF
    npm test 2>&1 | grep -E "Tests " | tail -1