发布

  • fix(search): scope deprecated_by filter to user tables only (#330)

    frostbyte_neo 发布于 2026-07-08 03:17:01 +00:00

    compile_filters() unconditionally appended 'deprecated_by IS NULL' to
    every query, but the deprecated_by column only exists on user-scoped
    tables (episode, atomic_fact — Reflection V1). Agent tables
    (agent_case, agent_skill) lack this column, causing a SQL error on
    agent search/get queries.

    Gate the clause behind owner_type == 'user' so agent queries no longer
    reference a non-existent column.

    Bump version to 1.1.2.

    Co-authored-by: Jiayao Song jiayao.song@shanda.com

    下载附件