技能 2026-03-25 09:31 UTC
claude-agent-sdk-masterlatest
版本【latest】由提交人 ErlichLiu 提交,主要更新类型为:功能特性新增与扩展。提交说明:refactor: 拆分 PlaygroundConfig 为 AppState 分层架构 + 新增会话历史持久化。为项目引入了新的能力与模块支持。
Commit提交信息原文
refactor: 拆分 PlaygroundConfig 为 AppState 分层架构 + 新增会话历史持久化 - PlaygroundConfig 拆分为 SessionConfig (SDK) + DisplayConfig (UI) + SessionState (运行时) - 统一通过 AppState 容器管理,消除 currentConfig 全局可变单例 - sessionId 归入 SessionState,prompt 作为函数参数传入而非配置字段 - 提取 session-ops.ts 管理会话生命周期 (create/resume/close) - 新增 session-history.ts 支持会话历史持久化与恢复 (/history 命令) - cli.ts 直接引用 session-ops,移除 SessionActions 间接回调层