starmen1265
6093a0a09d
Update: KB workflow git integration + todo items
...
- Add git remote check and pull before archive
- Support main/master branch auto-fallback
- Add todo: SenseVoice test, git ops, session routing
- Memory: BV1x3ctzkEdf knowledge base workflow
2026-02-13 19:09:57 +08:00
starmen1265
29dd236bb9
feat(kb-workflow): 切换为 Whisper 语音识别
...
- 将步骤5从 OCR 改为 Whisper 语音识别
- 更新 kb-whisper 支持自动音频转换
- 默认使用中文语言 (zh) 和 base 模型
- 更新输出格式为 {platform}_{id}.txt/.srt/.json
- 添加 FunASR 作为备用方案
2026-02-13 09:04:27 +08:00
OpenClaw Agent
672a811c54
fix(kb-workflow): 修正路径管理和子技能逻辑
...
- kb_workflow.py: 修复目录查询命令(--pending, --metadata等)
- bilibili_metadata.py: headless默认True,逻辑保持纯净
- deep_analyzer.py: 添加缺失的pathlib.Path导入
- SKILL.md: 更新步骤说明,明确由workflow提供路径给子技能
fix: 修复Playwright启动失败(NameError)和路径自动获取问题
2026-02-11 01:35:43 +08:00
OpenClaw Agent
8b7371feed
feat: 增加视频截帧功能,支持--video参数自动截帧+OCR
2026-02-11 01:00:31 +08:00
OpenClaw Agent
ce92b3b3fb
refactor: 删除多余的历史文件,保留核心kb_workflow.py
2026-02-11 00:34:30 +08:00
OpenClaw Agent
38c6c5354e
feat: 完善CLI目录参数处理逻辑
2026-02-10 23:57:18 +08:00
OpenClaw Agent
48ace388da
Revert "feat(kb-workflow): 补全CLI参数调用逻辑"
...
This reverts commit 61dad2414d .
2026-02-10 23:46:24 +08:00
OpenClaw Agent
61dad2414d
feat(kb-workflow): 补全CLI参数调用逻辑
...
新增参数:
- --pending: 链接解析
- --metadata: 元数据提取
- --content: 内容下载
- --ocr: OCR处理
- --analyze: 深度分析
- --extract_platform: 提取平台名称
- --link_file, --meta_file, --text_file, --source: 输入文件路径
2026-02-10 23:43:20 +08:00
OpenClaw Agent
e370b6b39f
refactor(kb-workflow): 改用Prompt-based模式
...
- SKILL.md: 重写为详细workflow指导,主代理直接读取执行
- kb_workflow.py: 简化为辅助工具函数库
- skill_main.py: 简化为触发检测入口
- SkillBug.md: 记录架构变更
主代理读取SKILL.md后,按照指导调用sessions_spawn,无需配置allowlist
2026-02-10 20:46:06 +08:00
OpenClaw Agent
679cca3b2c
feat(kb-workflow): 优化OCR处理逻辑
...
- 无论content步骤有没有字幕,都执行ocr步骤
- ocr超时设置为30分钟(1800秒)
- 如果没有字幕文件但有视频文件,使用视频作为ocr源
2026-02-10 20:34:11 +08:00
OpenClaw Agent
11c62dd383
refactor(kb-workflow): 重构为真正的编排者,使用sessions_spawn调用子agent
...
- kb_workflow.py: 重构为编排者,使用sessions_spawn调用子技能
- skill_main.py: 新增技能入口,处理用户消息
- SKILL.md: 更新文档,明确架构和流程
- SkillBug.md: 新增问题记录文档
设计原则:
- workflow不读文件内容,从文件名提取平台
- 使用sessions_spawn调用子agent
- 子技能自己定义输入输出格式
2026-02-10 20:31:33 +08:00
OpenClaw Agent
f41fb6167d
feat(kb-workflow): Add Git version control and cleanup
...
## Git Version Management
- Git repository in archive/ directory
- Environment variables for configuration (KB_GIT_ROOT, KB_GIT_REMOTE, etc.)
- Auto commit after archive with retry (3 attempts)
- Status command shows git status
## Subscription Management
- Subscriptions stored in archive/subscriptions/
- Track processed items to avoid duplicates
- Git tracked for history
## Automatic Cleanup
- Cleanup strategy based on file type and age
- video/frame retention: 7 days
- metadata/reports: permanent
- archive/: Git managed
## New Commands
- --trigger git-init: Initialize git repository
- --trigger git-status: Show git status
- --trigger cleanup: Clean expired temporary files
2026-02-10 16:09:50 +08:00
OpenClaw Agent
f2309bf2d1
feat(kb-workflow): Add complete file storage structure
...
- Define clear file storage rules:
- content/downloads/ for video files
- content/subtitles/ for subtitle files
- frames/ for video frames
- Track all created files in process results
- Add directory structure documentation
- Show file counts and total size in status
2026-02-10 15:28:41 +08:00
OpenClaw Agent
5507b1d986
feat: Add KB knowledge base series skills
...
- kb-link-parser: Multi-platform URL parser (Bilibili, YouTube, Zhihu)
- kb-bilibili-metadata: Bilibili video/article/up主 metadata extractor
- kb-zhihu-metadata: Zhihu question/answer/user metadata extractor
- kb-bilibili-content: Bilibili video download and content extraction
- kb-ocr-processor: OCR text extraction from video frames
- kb-deep-analyzer: AI-powered deep content analysis
- kb-workflow: Workflow orchestration (inbox, archive, subscriptions, report)
Also add:
- ARCHITECTURE_FLOWCHART.md: System architecture diagrams
- DETAILED_DESIGN.md: Complete design documentation
2026-02-10 12:18:52 +08:00