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:
@@ -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> 为公司共享库(仅管理员可设)。
|
||||
|
||||
Reference in New Issue
Block a user