Feat/cli/deepseek harness - #46
Open
Chaos-ting wants to merge 2 commits into
Open
Conversation
- 新增 DeepSeek Harness 解析器及增量同步逻辑 - 在同步模块中添加 syncDeepseek 函数并支持 deepseek 类型 - 在工具目录中注册 DeepSeek Harness 工具配置 - 扩展类型定义以支持 deepseek 相关状态和数据结构 - 实现 DeepSeek Harness 消息事件解析、去重和令牌统计 - 添加 DeepSeek Harness 会话文件读取和处理逻辑 - 实现 DeepSeek Harness 数据的行计数字段 countDeepseekRows
- 支持解析 ~/.dsh/sessions/ 目录下 .jsonl 和 .jsonl.zstd 会话日志 - 实现日志增量读取和事件去重,避免重复统计 - 新增对应图标组件和提供者别名支持 - 在工具与模型用量面板显示 DeepSeek Harness 名称及品牌图标 - 支持多帧 zstd 文件的读取与解压 - 添加用于解析与提取 token 计数的辅助函数 - 增加单元测试覆盖正常解析、增量解析和历史数据过滤场景 - 修改相关同步检测逻辑支持 DeepSeek 数据源 - 调整游标存储结构,新增文件大小与修改时间字段用于增量判断
Collaborator
Collaborator
|
可以 在#42 的基础上看看有不有需要补充的 |
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.
🏷️ 变动类型
🖥️ 影响范围
🔗 关联 Issue
💡 改动说明
📝 Changelog
@juejin-opensource/jusage(CLI)@juejin-opensource/jusage-core@juejin-opensource/jusage-desktop@juejin-opensource/jusage-dashboard☑️ 自查清单
<type>/<end>/<short-desc>(见 CONTRIBUTING.md)packages/dashboard/src与apps/desktop/src/renderer这两份同构但独立的代码是否都需要改pnpm changeset(纯文档 / CI 改动可跳过)pnpm build通过