mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-09-22 01:48:11 +00:00
feat: complete P0/P1/P2 — WebUI SPA, OpenClaw sidecar+simulator, healthcheck auto-sched+perf
P0: WebUI重构
- 完整 SPA 仪表盘 (7标签页), //go:embed dashboard.html
P1: OpenClaw兼容 (三通道: SKILL.md / sidecar / simulator)
- Node.js 模拟进程统一加载任意 OpenClaw 插件
- JSON-RPC 2.0 over stdio 协议, go:embed 内嵌
P2: Healthcheck 优化
- 定时自动执行 (startAutoCheck, 30min)
- healthcheck_perf 性能监控工具
其他: agentcli/cmd 插件, integration_test, status.go,
test_deepseek 清理, 多项 bug 修复
This commit is contained in:
@ -613,12 +613,22 @@ internal/
|
||||
│ └── plugin.go — SKILL 插件解析 (OpenClaw 兼容)
|
||||
├── plugins/
|
||||
│ ├── all.go — 空白导入触发所有内置插件 init()
|
||||
│ ├── timer/plugin.go — 定时器 (timer_set 工具 + 中断反馈)
|
||||
│ ├── all_test.go — 集成测试(14 工具跨插件)
|
||||
│ ├── agentcli/plugin.go — PTY 终端 (6 个 terminal_* 工具)
|
||||
│ ├── cli/plugin.go — CLI 插件 (Unix socket, InjectTextSync)
|
||||
│ ├── openclaw/plugin.go — OpenClaw 兼容 (SKILL.md → SDK 工具注册)
|
||||
│ └── webui/ — WebUI 插件 (HTTP 服务器 + 仪表盘)
|
||||
│ ├── cmd/plugin.go — 命令执行 (cmd_run 工具)
|
||||
│ ├── healthcheck/plugin.go — 健康检查 + 性能监控 + 自动调度
|
||||
│ ├── mcp/plugin.go — MCP 协议支持
|
||||
│ ├── openclaw/ — OpenClaw 兼容
|
||||
│ │ ├── plugin.go — SKILL.md + sidecar + simulator 三通道
|
||||
│ │ ├── sidecar.go — JSON-RPC over stdio 侧车管理
|
||||
│ │ └── simulator/
|
||||
│ │ └── main.js — OpenClaw 插件模拟器 (go:embed)
|
||||
│ ├── timer/plugin.go — 定时器 (timer_set 工具 + 中断反馈)
|
||||
│ └── webui/ — WebUI 插件 (HTTP 服务器 + SPA 仪表盘)
|
||||
│ ├── plugin.go
|
||||
│ └── handler.go
|
||||
│ ├── handler.go
|
||||
│ └── dashboard.html — 嵌入式 SPA (go:embed)
|
||||
├── memory/
|
||||
│ ├── graph.go — SQLite 图数据库
|
||||
│ ├── indexer.go — 图索引器
|
||||
|
||||
Reference in New Issue
Block a user