feat: Z36 host_meta-only publish + Z37 SyncPage LWW UX

Allow display-name-only publish via host_meta; stop treating company conflicts 403 as a fault and ship rebuilt web dist.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
whm
2026-08-07 12:01:18 +08:00
parent 4b6c90904b
commit 4f9087bd38
9 changed files with 597 additions and 387 deletions

View File

@@ -1,5 +1,6 @@
import { useEffect, useState } from "react";
import {
Alert,
App as AntApp,
Button,
Checkbox,
@@ -486,6 +487,13 @@ export function SyncPage(props: {
线 A <Typography.Text code>postgres</Typography.Text>
</Typography.Paragraph>
<Alert
type="info"
showIcon
style={{ marginBottom: 12 }}
message="冲突已自动按 LWW 处理;覆盖审计请到「平台超管 · 租户/公司 · LWW 覆盖日志」查看。公司侧无冲突台。"
/>
<Space style={{ marginBottom: 12 }} wrap>
<Button type="primary" icon={<PlusOutlined />} onClick={openCreate}>
@@ -511,6 +519,11 @@ export function SyncPage(props: {
loading={loading}
dataSource={visibleChannels}
pagination={false}
locale={{
emptyText: filterAgentId
? "该智能体暂无同步通道"
: "该公司暂无同步通道(未绑定智能体或尚未创建通道)",
}}
columns={[
{
title: "通道 ID",
@@ -908,7 +921,7 @@ export function SyncPage(props: {
/>
<Typography.Paragraph type="secondary" style={{ marginTop: 16 }}>
LWW 5
5
= agent push
线 push Binding
Binding <Typography.Text code>shared=true</Typography.Text>