Cache biz-state discover CLI results and improve bind table UX.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-22 09:48:43 +08:00
parent b9be545a75
commit 908771baea
8 changed files with 316 additions and 63 deletions

View file

@ -1777,7 +1777,16 @@ export const bizStateDiscover = (body: Record<string, unknown>) =>
ok: boolean;
error?: string;
command?: string;
candidates?: Array<{ value: string; label: string; rd?: string; protocols?: string }>;
cache_hit?: boolean;
pair_mode?: boolean;
discover_profile_id?: string;
candidates?: Array<{
value: string;
label: string;
rd?: string;
protocols?: string;
bindings?: Record<string, string>;
}>;
raw_preview?: string;
}>("/v1/biz-state/discover", body);