From 6b4920b5098ded317253d02a46956b54262898e2 Mon Sep 17 00:00:00 2001 From: weichen Date: Sun, 11 Oct 2026 08:45:13 +0000 Subject: [PATCH] Sync the contracts mirror from the core authority Why: Core PR #26 added the node id/source fields to ts/types.ts (the single authority); the mirror is regenerated so the sync header and content match make contracts output exactly (manual edits drift). Evidence: File generated by the make contracts copy steps; combined verification in the Dev workspace after re-pinning. Impact: Header banner plus the already-reviewed id/source fields. Refs: Core PR #26; Dev task feature/generative-ui-u2 --- src/contracts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contracts.ts b/src/contracts.ts index 260bb98..cbe98b2 100644 --- a/src/contracts.ts +++ b/src/contracts.ts @@ -185,7 +185,7 @@ export type UINodeType = export interface UINode { type: UINodeType; - /** Surface 层节点级标注(core ui.go U2):整页唯一稳定 id 与事实来源标识,旧路径不填。 */ + /** Surface 层节点级标注(Generative UI U2):整页唯一稳定 id 与事实来源标识,旧路径不填。 */ id?: string; source?: string[]; title?: string;