root e273e746ea feat: complete OpenClaw plugin API bridge with async notification architecture
- simulator/main.js: All 30+ register* methods now send JSON-RPC notifications
  to Go instead of being silent no-ops. Each plugin capability registration
  (tool, provider, channel, hook, http_route, command, service, etc.) is
  forwarded to Go via the notify channel.

- sidecar.go: Refactored to async reader goroutine. Single goroutine reads
  all stdout lines, routes responses to pending callers via channel by ID,
  and dispatches notifications (no-ID messages) to notifyCh for handling.

- plugin.go: drainNotify() collects all capabilities registered during
  plugin init. handleNotify() logs each registered capability for visibility.

- All 9 openclaw tests pass including simulator + full pipeline tests.
2026-07-04 14:08:42 +08:00

HomeAgent

24/7 智能管家。核心零 IO,一切外界交互来自插件。

📖 项目概览(非技术) · 🔧 插件开发指南 · 🏗️ 技术架构 · 📋 实施计划

快速体验

# 构建
make build

# 启动内核(需要 DeepSeek API 密钥)
DEEPSEEK_API_KEY="sk-xxx" ./build/homed -data /tmp/ha

# 在另一个终端聊天
echo "你好" | ./build/waiter -socket /tmp/ha/cli.sock

架构一句话

homed内核零 IO← PluginSDK → 插件(所有 IO 能力)

依赖Go 1.19+, CGo (go-sqlite3), Linux。

Description
No description provided
Readme AGPL-3.0 83 MiB
Languages
Go 74.6%
JavaScript 12.8%
HTML 3.9%
CSS 3.1%
Python 2.4%
Other 3.1%