starmen1265
b7b40b1ece
feat(deep_analyzer): 使用SRT简化时间格式 + 分块分析 + 纯文本AI
...
- 添加 load_srt() 支持 SRT 字幕格式
- 时间格式简化为 HH:MM:SS
- 超过3000字自动分块分析
- _merge_summaries 改用纯文本而非JSON
- 添加提取函数解析AI响应
2026-02-13 12:28:21 +08:00
starmen1265
ffed35db0c
refactor(deep-analyzer): 简化模板和元数据格式
...
- 移除重复的 frontmatter 区块
- 简化模板,去掉"## 基本信息"和重复元数据
- frontmatter 添加 analyze_time、bvid、platform 字段
- 修复 argparse 默认值(provider/model 从固定值改为 None)
- 添加 normalize_metadata 调用
- 适配 glm-4.7 的 reasoning_content 模式
- 添加 _parse_json_from_text 解析函数
2026-02-13 12:14:13 +08:00
starmen1265
faaf79428b
fix(deep-analyzer): 修复元数据解析和AI调用问题
...
- 支持 {"metadata": {...}} 格式的元数据
- 从环境变量读取 AI_PROVIDER 和 AI_MODEL
- 修复 glm-4.7 的 reasoning_content 处理
- 修复 _format_time 支持 float 类型
- 支持 Whisper 的 segments 和 text 字段
2026-02-13 11:50:08 +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
df15f9a6fb
refactor: 统一CLI输出格式为标准JSON
2026-02-11 01:10:45 +08:00
OpenClaw Agent
06f279451a
feat: 支持嵌套格式元数据(kb-bilibili-metadata 输出)
2026-02-11 01:04:18 +08:00
OpenClaw Agent
aa695c7cb7
feat(kb-deep-analyzer): Increase output limits for detailed analysis
...
## Increased limits:
| Stage | Before | After |
|-------|--------|-------|
| Per chunk | 500 tokens / 300 chars | 2000 tokens / 800 chars |
| Summary | 150 chars | 300 chars |
| Full analysis | 500 chars | 1500 chars |
| Short video | 100 chars | 200 chars |
| JSON response | 2000 tokens | 4000 tokens |
| Added items:
| - Topics: 3-4 → 5
| - Insights: 2-3 → 4
| - Actions: 1-2 → 3
2026-02-10 16:51:45 +08:00
OpenClaw Agent
08066334c4
feat(kb-deep-analyzer): Smart subtitle chunking strategy
...
## 改进内容
### 动态分段
- 根据字符数动态计算分段数
- 每个chunk最多3000字符
- 限制最小3段,最多20段
### 自然断点分割
- 优先级:段落(双换行) > 句末(。\n) > 句号 > 换行
- 不截断,保持语义完整
### 时间估算
- 用字符比例估算每段时间
- 长视频时间轴更准确
2026-02-10 16:41:15 +08:00
OpenClaw Agent
3cfd36cf4e
fix(kb-deep-analyzer): Fix video analysis threshold
...
- Change threshold from LONG_VIDEO_THRESHOLD (30min) to SHORT_VIDEO_THRESHOLD (10min)
- Now videos 10+ minutes use chunked analysis for deeper insights
2026-02-10 16:30:41 +08:00
OpenClaw Agent
3faf121edb
feat(kb-deep-analyzer): Support GLM-4 with custom base URL
...
- Support AI_BASE_URL environment variable for custom API endpoint
- Add --base-url CLI argument
- Fix zhipu API endpoint to use coding/paas/v4 path
2026-02-10 16:24:31 +08:00
OpenClaw Agent
8b43416ab7
feat(kb-deep-analyzer): Enhance template and metadata
...
- Add complete metadata to frontmatter (bvid, cvid, mid, platform)
- Add AI-generated tags in analysis prompt
- Update templates to include full metadata
- Add tags_string for YAML array format
2026-02-10 15:42:09 +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