Repository navigation
feat: 发布 2.5.0,完善 Memory 能力并统一七包发布 - #273
Merged
Merged
Conversation
- 在 CLI 文档中新增记忆 live 场景说明与变量需求 - 扩展 CLI 命令集,添加记忆画像 Profile 的增删改查功能 - 统一所有记忆相关命令加入 workspace 和 library 参数支持 - 记忆添加命令支持自定义 meta_data,完善输入校验和互斥说明 - 记忆删除、列表、获取用户画像等命令增加工作空间参数支持 - 画像模板相关命令新增分页参数及属性操作接口 - 重构知识命令共享模块,移除重复的 workspace 解析实现,统一导出 - 优化命令输出格式,文本模式下显示更多详细信息和异常提示 - 提供完整的示例参数,增强命令使用说明和提示文档
- 在多条命令中统一添加对 userId 和 memoryLibraryId 长度的校验 - 新增 profile schema 名称、描述及属性字段长度断言 - 为 delete 内存节点命令添加高风险删除确认机制及 --yes 标志 - 增加账号级别限流说明,提示遇 HTTP 429 需降低请求频率 - 统一移除分散的长度常量,集中定义并使用共享常量 - 相关 E2E 测试覆盖长度限制和高风险操作确认情况 - 支持内存消息内容多样化,新增 MemoryContentPart 类型定义 - 内存文档中新增限流描述及删除命令风险提示,强调确认操作要求
…age.json and documentation - Introduced a new .nvmrc file specifying Node.js version 22. - Updated Node.js version requirements in package.json to support ^22.18 or >=24.11. - Adjusted related documentation to reflect the new Node.js version requirements for development and installation.
- Changed the parameter name from `--memory-library-id` to `--library-id` across all relevant commands and documentation. - Updated examples and test cases to reflect the new parameter name. - Ensured consistency in the CLI interface and improved clarity in the user guide and command references.
…anagement - Added links to memory documentation in both English and Chinese in the README files. - Updated the memory capability matrix to reference the user guide and improved clarity in descriptions. - Introduced new commands for memory node display and skill export, enhancing the CLI's functionality. - Improved command descriptions and added new flags for better user experience in memory operations.
- Deleted obsolete memory design and backend API documentation files that are no longer relevant. - Cleaned up the repository by removing files that contained outdated information and design decisions. - Ensured that the remaining documentation reflects the current state of the memory management system.
- Updated links to the memory capability matrix and user guide in both English and Chinese README files to point to the correct GitHub URLs. - Ensured consistency across documentation for better accessibility and clarity.
- Updated various documentation files to ensure consistent formatting, particularly in the use of underscores and asterisks. - Improved clarity in command descriptions and examples across multiple reference files. - Ensured that all instances of `bailian-*` are uniformly formatted for better readability.
…ement - Added the new `bailian-memory` skill for personal long-term memory management, including features for user preferences and memory extraction. - Updated documentation to include new commands and references for the memory skill, ensuring clarity and accessibility. - Enhanced the CLI with new memory commands and improved existing command descriptions for better user experience. - Included tests for the new memory skill to ensure functionality and integration with the CLI.
…umentation - Deleted the `knowledge retrieve` command, which is now deprecated in favor of `knowledge search`. - Updated relevant documentation to reflect the removal of the retrieve command and to clarify the usage of the search command. - Adjusted command references in various files to ensure consistency and accuracy in the CLI interface. - Added tests to verify that attempts to use the removed command are correctly rejected.
…tionality - Introduced `bailian-memo-dsh` as a new downstream host adapter for personal memory in DeepSeek Harness. - Updated AGENTS.md to include the new package and its functionalities. - Modified Vite configuration to include files from the new package. - Updated publish workflow to handle the new package independently. - Added necessary documentation and configuration files for the new package. - Updated dependencies in `bailian-kb-dsh` to align with the new package requirements.
…lugin architecture - Updated `pnpm-lock.yaml` to reflect new versions for dependencies, including `@deepseek-ai/cordis` and `@deepseek-ai/dsh-agent`. - Refactored `dsh-plugin.md` documentation to clarify plugin responsibilities and configuration. - Introduced a new implementation plan for Dsh plugin configuration in `2026-10-09-dsh-config.md`. - Enhanced `README.md` and `README.zh.md` to provide clearer instructions on plugin setup and usage. - Added new configuration and credential management files to streamline API key handling and workspace settings. - Improved error handling and validation for API key and workspace configurations in the plugin.
…ate documentation - Eliminated pause and resume methods from the MemoCardController and associated UI elements in MemoCard. - Updated README.md and README.zh.md to reflect changes in plugin control, emphasizing the use of a switch for enabling/disabling the plugin without data loss. - Removed references to pause/resume in localization files to align with the updated functionality. - Cleaned up CSS by removing the dangerButton class, streamlining button styles.
…ndling, and documentation updates
…it documents; add comprehensive command usage guide and detailed command manuals
…t changes in memory CLI documentation
…changes in memory CLI documentation; remove outdated runtime behavior and bundle plan documents
…onsibilities and documentation links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
本 PR 完善 Memory CLI 的管理、检索与异步写入能力,新增个人记忆 Skill 和 dsh 个人记忆插件,并准备 2.5.0 整体发布。
七个包统一升级至 2.5.0,中英文 CHANGELOG 已补充功能说明、破坏性变更和迁移方式,Skill 元数据已同步。
主要改动
bailian-memorySkill,支持经用户授权的个人记忆、召回与画像流程。破坏性变更与迁移
bl knowledge retrieve/kscli retrievebl knowledge search/kscli search,并传入检索服务的--agent-id;旧 index 参数不能直接沿用--workspace-id、BAILIAN_WORKSPACE_ID或workspace_id--memory-library-id改为--library-idmemory update/memory delete移除--user-id--yesmemory add改为异步抽取,默认最多等待 120 秒--wait 0;JSON 调用方需适配event_id和events,提交回执不代表抽取完成knowledgeRetrieve导出;MemoryAddResponse替换为MemoryAddAsyncResponse--min-score默认值为0.3,仅对 pro 检索生效;lite 不按该阈值过滤。验证
vp check通过:0 个错误,3 个现有警告。vp check --fix通过。验收范围与发布