cft0808
|
8ad2b512c3
|
fix: 对齐文档与OpenClaw实现链路(安装/同步/统计)
- install.sh: workspace与agent注册补齐太子/吏部/早朝
- sync_agent_config.py: 增加__main__入口,修正taizi映射,兼容model对象结构
- sync_officials_stats.py: 兼容model对象结构,修复TypeError,太子ID改为taizi并保留main兼容
- README_EN.md: 修正Quick Start里旧的9-workspace描述
|
2026-02-27 21:49:58 +08:00 |
|
cft0808
|
11f15db16f
|
feat: 添加吏部(libu_hr) + 自动部署所有 SOUL.md
1. 吏部 agent:
- 新建 agents/libu_hr/SOUL.md (人事/培训/Agent管理)
- 注册到 openclaw.json (shangshu.allowAgents += libu_hr)
- 添加到 sync_agent_config/sync_officials_stats/server.py/dashboard.html
- 更新尚书省 dispatch SKILL.md 部门能力索引
- 所有六部 SOUL.md 中'吏部暂空'→'吏部(libu_hr)负责人事/培训'
2. 自动 SOUL.md 部署:
- sync_agent_config.py 新增 deploy_soul_files()
- 每次同步自动将项目 agents/xxx/SOUL.md → workspace soul.md
- 处理 taizi→main 名称映射
- 只在内容变更时写入,确保 sessions 目录存在
- 修复: xingbu 缺 sessions dir, main 缺 workspace
完整阵容 11 个: 🤴太子 + 三省(📜📍📮) + 六部(📝💰⚔️⚖️🔧👔) + 📰钦天监
|
2026-02-27 00:17:31 +08:00 |
|
cft0808
|
19886035d4
|
fix: 补全太子(main)+钦天监(zaochao) agent 配置
- 部署 agents/taizi/SOUL.md → ~/.openclaw/agents/main/SOUL.md
太子之前在裸跑,没有任何指令/人设
- sync_agent_config.py: ID_LABEL 新增 main, 补充 EXTRA_AGENTS 逻辑
处理不在 openclaw.json agents list 中的 agent (main=默认, zaochao=独立)
- sync_officials_stats.py: OFFICIALS 列表加入 main(太子)
- dashboard.html: _agentLabels 加入 zaochao
- agent_config.json: 8→10 agents, officials_stats: 9→10
|
2026-02-27 00:03:35 +08:00 |
|
cft0808
|
efd36ab729
|
feat: 添加 Copilot 模型配置 + 旨意看板归档功能
模型配置:
- 新增 Copilot 系列模型 (Claude Sonnet 4, Claude Opus 4.5, GPT-4o, Gemini 2.5 Pro, o3-mini)
- 新增 github-copilot/claude-opus-4.6 模型
旨意看板归档:
- 看板顶部新增筛选栏: 进行中 / 已归档 / 全部
- Done/Cancelled 状态自动归入归档视图
- 支持单条归档/取消归档操作
- 支持一键归档所有已完成任务
- 归档卡片虚线边框半透明展示
- Tab 徽章仅统计活跃旨意数
其他:
- agents SOUL.md 更新
- 脚本健壮性改进 (file_lock, refresh, sync)
|
2026-02-26 21:09:05 +08:00 |
|
cft0808
|
1110886de2
|
fix: 可移植性修复 + server.py 路由修复
- SOUL.md: 硬编码路径替换为 __REPO_DIR__ 占位符,支持跨环境部署
- dashboard/server.py: 修复 morning-brief/refresh 路由
- 原错误:POST handler 混入 GET 分支导致永远 404
- 修复:将 POST /api/morning-brief/refresh 移至 do_POST 正确位置
- scripts/: 路径变量改用 __file__ 相对路径,提升可移植性
- install.sh / run_loop.sh: 同步修复
|
2026-02-24 21:53:01 +08:00 |
|
cft0808
|
b5c28b48c4
|
feat: 官员总览重设计 - 左右分栏/品级排行/旨意参与/缓存费用准确计算
|
2026-02-23 23:45:41 +08:00 |
|
cft0808
|
b8c8d22702
|
feat: 官员总览 - Token消耗/实际费用/功绩统计/心跳监控
|
2026-02-23 23:12:41 +08:00 |
|