feat: add minimal companion client CLI command

This commit is contained in:
William Valentin
2026-02-18 11:02:21 -08:00
parent 7ca5d5bff5
commit 59c1033da0
6 changed files with 366 additions and 2 deletions
+17 -2
View File
@@ -5375,10 +5375,25 @@
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/channels/utils.test.ts src/channels/telegram/adapter.test.ts src/channels/discord/adapter.test.ts src/channels/slack/adapter.test.ts src/channels/whatsapp/adapter.test.ts + pnpm typecheck passing"
},
"minimal-companion-client-tier-b2": {
"status": "completed",
"date": "2026-02-18",
"updated": "2026-02-18",
"summary": "Implemented Tier B2 minimal companion client via new `flynn companion` CLI command. The command connects to gateway node RPC, registers a companion node, publishes heartbeats, streams agent typing/content events, supports config-derived URL/token defaults, and includes one-shot mode for smoke testing.",
"files_modified": [
"src/cli/companion.ts",
"src/cli/companion.test.ts",
"src/cli/index.ts",
"src/cli/index.test.ts",
"README.md",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/cli/companion.test.ts src/cli/index.test.ts + pnpm typecheck passing"
}
},
"overall_progress": {
"total_test_count": 1924,
"total_test_count": 1927,
"all_tests_passing": true,
"p0_completion": "3/3 (100%)",
"p1_completion": "4/4 (100%)",
@@ -5398,7 +5413,7 @@
"gmail_auth_cli": "flynn gmail-auth command implemented with OAuth2 flow, doctor check, config routed to Telegram",
"native_audio_support": "completed — smart routing for native audio (Gemini/OpenAI/GitHub) vs Whisper transcription fallback",
"remaining_phases_completion": "Phase 1: 3/3 (100%) — context levels, command registry, memory structure. Phase 2: 3/3 (100%) — component registry, confidence routing, history index. Phase 3: 2/2 (100%) — adaptive memory/compaction, truthfulness/autonomy hardening",
"next_up": "Implement Tier B2 minimal companion app client"
"next_up": "Track OpenClaw evolution regularly for inspiration and feature ideas"
},
"soul_md_and_cron_create": {
"date": "2026-02-11",