feat: same-Realm peer discovery via UDP and local registry (0.9.10)

Advertise instances with a multicast beacon and a config-dir registry so
same-machine and LAN peers that share a Realm fingerprint can find each
other without TOFU pairing.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
WHC
2026-10-28 22:48:04 +08:00
co-authored by Cursor
parent dade4072cf
commit 5ee82f126d
6 changed files with 518 additions and 3 deletions
+3 -1
View File
@@ -122,6 +122,7 @@ set(CST_CORE_SOURCES
src/runtime.c
src/worktree.c
src/realm.c
src/discover.c
src/attach.c
src/clipboard.c
src/pdf_text.c
@@ -386,7 +387,8 @@ set(_CST_CORE_TESTS test_llm_body test_prefix_stable test_sse_decode
test_shell test_diff test_tools_fs test_tools_ext test_registry
test_undo test_config test_models test_model_registry test_sandbox
test_keymap test_shell_compact test_skills
test_plugins test_mcp test_subagent test_runtime test_realm test_lowil
test_plugins test_mcp test_subagent test_runtime test_realm test_discover
test_lowil
test_win_utf8 test_os_dir test_tmpdir
test_tool_meta test_embed)
if(CST_BUILD_WEBUI)