@yuku123/z-team-component 0.2.52 → 0.2.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChangeLogView-nPAmM1X0.js → ChangeLogView-Dm7C3S14.js} +1 -1
- package/dist/{ComponentDoc-Cky9jCGu.js → ComponentDoc-y1NfPcHG.js} +506 -461
- package/dist/{InvitationManagementPage-BsbaIGvB.js → InvitationManagementPage-Btw9iVOl.js} +1 -1
- package/dist/{OnboardingPage-CHVgeBiO.js → OnboardingPage-wF0OrgfD.js} +2 -2
- package/dist/ScheduledTasks-CzzgG3n8.js +9417 -0
- package/dist/{SystemShell-4OiqvM11.js → SystemShell-BSCmnOxf.js} +1 -1
- package/dist/{admin-logs-D6HtRcK6.js → admin-logs-vR556ORQ.js} +2 -2
- package/dist/{api-BT968Uwc.js → api-Bs0qYxjL.js} +1 -1
- package/dist/{api-C78tCfne.js → api-Jfnj1ybB.js} +287 -270
- package/dist/createWorkspaceWsHandler-obuYWncQ.js +12820 -0
- package/dist/{index-BAY37t4f.js → index-B3LhKHBx.js} +4 -4
- package/dist/{index-CR3sbzOU.js → index-BNShjps9.js} +7 -7
- package/dist/{index-DxFZKDq-.js → index-BXiuxhgz.js} +6 -6
- package/dist/{index-CdlfWFvS.js → index-BbkE7r8M.js} +1 -1
- package/dist/index-BtWtVMgY.js +474 -0
- package/dist/{index-DpcrvKsK.js → index-C5WSr14Z.js} +1 -1
- package/dist/{index-D9AqC2O-.js → index-CYViRXQo.js} +1 -1
- package/dist/{index-Bdu31aRV.js → index-Ck_D109M.js} +2 -2
- package/dist/index-CnEWSsKt.js +582 -0
- package/dist/{index-B11_fFjX.js → index-CxrBnzg2.js} +1 -1
- package/dist/index-DRrBkbr_.js +100 -0
- package/dist/index-DUmgSTQu.js +9179 -0
- package/dist/index-DWsfQMp8.js +208 -0
- package/dist/{index-LwKUkzKI.js → index-Di_vaPxC.js} +3 -3
- package/dist/{index-B_C7H9WL.js → index-Dj5_8ulz.js} +5 -5
- package/dist/{index-qK6pyAGy.js → index-DmZdGNnh.js} +4 -4
- package/dist/index-DqUOCs_a.js +242 -0
- package/dist/{index-DFY3lzq0.js → index-DroZE6Bv.js} +3 -3
- package/dist/{index-BAK7UDvY.js → index-JLtVgwZv.js} +1 -1
- package/dist/index-Onqu_VQO.js +2828 -0
- package/dist/index-Pk7OkJrk.js +1133 -0
- package/dist/index-WIsi8fln.js +339 -0
- package/dist/{index-ClA0896K.js → index-gxEdw4X4.js} +4 -4
- package/dist/index-tADa82Fa.js +130 -0
- package/dist/{index-BX1Wd9x9.js → index-yS7XIUis.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{instance-D5dhjbgg.js → instance-B0DZJnee.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/schedule-D3jTrI1R.js +497 -0
- package/dist/{send-default-agent-team-message-C882sJLV.js → send-default-agent-team-message-CbqHaohM.js} +1 -1
- package/dist/{sso-user-Bi9_l9yi.js → sso-user-Dw_wwYa-.js} +1 -1
- package/dist/{training-Ba09KItE.js → training-CETtJBNQ.js} +1 -1
- package/dist/{useAppStore-ibJyVIAX.js → useAppStore-s-CLa-nF.js} +19 -19
- package/dist/webide-6j4OVoNA.js +7845 -0
- package/dist/z-team-component.css +2 -2
- package/package.json +1 -1
- package/dist/createWorkspaceWsHandler-mq-UTF2O.js +0 -13028
- package/dist/index-7nSly-MA.js +0 -405
- package/dist/index-B3-0eXYQ.js +0 -844
- package/dist/index-Cp3DAwNx.js +0 -13862
- package/dist/index-NaBR2aQE.js +0 -6685
- package/dist/index-UsGqMo11.js +0 -848
- package/dist/schedule-C-4ksDPw.js +0 -239
- package/dist/webide-RsFP9pHM.js +0 -8087
|
@@ -0,0 +1,582 @@
|
|
|
1
|
+
import { jsx as e, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import { Navigate as t } from "react-router-dom";
|
|
3
|
+
import { lazy as T } from "react";
|
|
4
|
+
import { UnorderedListOutlined as i, HistoryOutlined as S, ClusterOutlined as l, DashboardOutlined as n, ExperimentOutlined as q, SettingOutlined as k, KeyOutlined as s, AppstoreOutlined as m, SafetyCertificateOutlined as w, TeamOutlined as z, ProfileOutlined as u, ApiOutlined as y, HddOutlined as h, ApartmentOutlined as f, InboxOutlined as v, FileTextOutlined as O, SendOutlined as P, CloudServerOutlined as a, NodeIndexOutlined as x, TableOutlined as C, SearchOutlined as d, DatabaseOutlined as D, ConsoleSqlOutlined as _, BranchesOutlined as E, DeploymentUnitOutlined as G, BookOutlined as g, FundOutlined as M, CloudUploadOutlined as N, TagsOutlined as I, CodeOutlined as R } from "@ant-design/icons";
|
|
5
|
+
import { W as B } from "./index-DRrBkbr_.js";
|
|
6
|
+
import { ConfigApp as U } from "@yuku123/z-config-component";
|
|
7
|
+
import { MistApp as K } from "@yuku123/z-mist-component";
|
|
8
|
+
import { MetaApp as L } from "@yuku123/z-meta-component";
|
|
9
|
+
import { MsgApp as j } from "@yuku123/z-msg-component";
|
|
10
|
+
import { RpcApp as W } from "@yuku123/z-rpc-component";
|
|
11
|
+
import { VectorApp as H } from "@yuku123/z-vector-component";
|
|
12
|
+
import { GraphApp as F } from "@yuku123/z-graph-component";
|
|
13
|
+
import { GwApp as V } from "@yuku123/z-gw-component";
|
|
14
|
+
import { CacheApp as Z } from "@yuku123/z-cache-component";
|
|
15
|
+
import { MqApp as Q } from "@yuku123/z-mq-component";
|
|
16
|
+
import { OssApp as Y } from "@yuku123/z-oss-component";
|
|
17
|
+
import { ZkbApp as J } from "@yuku123/z-kb-component";
|
|
18
|
+
import { ScriptProductizationPage as o } from "@yuku123/z-agent-component";
|
|
19
|
+
import "./index-DUmgSTQu.js";
|
|
20
|
+
const c = (p, r) => T(() => p().then((A) => ({ default: A[r] }))), X = c(() => import("@yuku123/z-config-component"), "ComponentDocPage"), $ = c(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), ee = c(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), te = c(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), ce = c(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), ae = c(() => import("@yuku123/z-kb-component"), "ComponentDocPage"), oe = c(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), ie = c(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), ne = c(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), se = c(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), pe = c(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), re = c(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), le = [
|
|
21
|
+
{
|
|
22
|
+
title: "配置中心",
|
|
23
|
+
icon: /* @__PURE__ */ e(k, {}),
|
|
24
|
+
items: [
|
|
25
|
+
{
|
|
26
|
+
key: "config-list",
|
|
27
|
+
label: "配置列表",
|
|
28
|
+
icon: /* @__PURE__ */ e(i, {}),
|
|
29
|
+
path: "/config/list",
|
|
30
|
+
desc: "集中配置项的查询、编辑与发布"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
key: "config-history",
|
|
34
|
+
label: "变更历史",
|
|
35
|
+
icon: /* @__PURE__ */ e(S, {}),
|
|
36
|
+
path: "/config/history",
|
|
37
|
+
desc: "配置变更记录与版本回溯"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
key: "config-service",
|
|
41
|
+
label: "服务列表",
|
|
42
|
+
icon: /* @__PURE__ */ e(l, {}),
|
|
43
|
+
path: "/config/service",
|
|
44
|
+
desc: "接入配置的客户端服务管理"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
key: "config-cluster",
|
|
48
|
+
label: "集群概览",
|
|
49
|
+
icon: /* @__PURE__ */ e(n, {}),
|
|
50
|
+
path: "/config/cluster",
|
|
51
|
+
desc: "配置中心集群节点与状态总览"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
key: "config-namespace",
|
|
55
|
+
label: "命名空间 / 灰度",
|
|
56
|
+
icon: /* @__PURE__ */ e(q, {}),
|
|
57
|
+
path: "/config/namespace",
|
|
58
|
+
desc: "命名空间与灰度发布(孵化中)"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
title: "密钥中心",
|
|
64
|
+
icon: /* @__PURE__ */ e(s, {}),
|
|
65
|
+
items: [
|
|
66
|
+
{
|
|
67
|
+
key: "mist-secret",
|
|
68
|
+
label: "密钥管理",
|
|
69
|
+
icon: /* @__PURE__ */ e(s, {}),
|
|
70
|
+
path: "/mist/secret",
|
|
71
|
+
desc: "z-mist 密钥台账(只读孵化)"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
key: "mist-app",
|
|
75
|
+
label: "应用接入",
|
|
76
|
+
icon: /* @__PURE__ */ e(m, {}),
|
|
77
|
+
path: "/mist/app",
|
|
78
|
+
desc: "接入应用与 appSecret 台账"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
key: "mist-acl",
|
|
82
|
+
label: "密钥授权",
|
|
83
|
+
icon: /* @__PURE__ */ e(w, {}),
|
|
84
|
+
path: "/mist/acl",
|
|
85
|
+
desc: "哪个应用能读哪个密钥 + 在线校验"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
title: "元数据中心",
|
|
91
|
+
icon: /* @__PURE__ */ e(f, {}),
|
|
92
|
+
items: [
|
|
93
|
+
{
|
|
94
|
+
key: "meta-app",
|
|
95
|
+
label: "应用元数据",
|
|
96
|
+
icon: /* @__PURE__ */ e(m, {}),
|
|
97
|
+
path: "/meta/app",
|
|
98
|
+
desc: "z-meta 应用台账"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
key: "meta-tenant",
|
|
102
|
+
label: "租户管理",
|
|
103
|
+
icon: /* @__PURE__ */ e(z, {}),
|
|
104
|
+
path: "/meta/tenant",
|
|
105
|
+
desc: "z-meta 租户台账"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
key: "meta-dict",
|
|
109
|
+
label: "数据字典",
|
|
110
|
+
icon: /* @__PURE__ */ e(u, {}),
|
|
111
|
+
path: "/meta/dict",
|
|
112
|
+
desc: "字典类型与字典项"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
key: "meta-interface",
|
|
116
|
+
label: "接口台账",
|
|
117
|
+
icon: /* @__PURE__ */ e(y, {}),
|
|
118
|
+
path: "/meta/interface",
|
|
119
|
+
desc: "登记在册的业务接口"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
key: "meta-private-config",
|
|
123
|
+
label: "私有配置",
|
|
124
|
+
icon: /* @__PURE__ */ e(k, {}),
|
|
125
|
+
path: "/meta/private-config",
|
|
126
|
+
desc: "应用私有键值配置"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
key: "meta-models",
|
|
130
|
+
label: "业务模型",
|
|
131
|
+
icon: /* @__PURE__ */ e(h, {}),
|
|
132
|
+
path: "/meta/models",
|
|
133
|
+
desc: "结构化业务模型与字段"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
title: "消息中心",
|
|
139
|
+
icon: /* @__PURE__ */ e(P, {}),
|
|
140
|
+
items: [
|
|
141
|
+
{
|
|
142
|
+
key: "msg-inbox",
|
|
143
|
+
label: "站内信",
|
|
144
|
+
icon: /* @__PURE__ */ e(v, {}),
|
|
145
|
+
path: "/msg/inbox",
|
|
146
|
+
desc: "当前用户的收件箱"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
key: "msg-template",
|
|
150
|
+
label: "消息模板",
|
|
151
|
+
icon: /* @__PURE__ */ e(u, {}),
|
|
152
|
+
path: "/msg/template",
|
|
153
|
+
desc: "按渠道/业务类型维护模板"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
key: "msg-delivery",
|
|
157
|
+
label: "投递日志",
|
|
158
|
+
icon: /* @__PURE__ */ e(O, {}),
|
|
159
|
+
path: "/msg/delivery",
|
|
160
|
+
desc: "投递结果、失败原因与统计"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
key: "msg-batch",
|
|
164
|
+
label: "批量任务",
|
|
165
|
+
icon: /* @__PURE__ */ e(i, {}),
|
|
166
|
+
path: "/msg/batch",
|
|
167
|
+
desc: "批量发送进度与成败"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
title: "服务注册",
|
|
173
|
+
icon: /* @__PURE__ */ e(x, {}),
|
|
174
|
+
items: [
|
|
175
|
+
{
|
|
176
|
+
key: "rpc-service",
|
|
177
|
+
label: "服务列表",
|
|
178
|
+
icon: /* @__PURE__ */ e(l, {}),
|
|
179
|
+
path: "/rpc/service",
|
|
180
|
+
desc: "RPC 注册表(z-rpc 视角 / z-config naming 数据源)"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
key: "rpc-instance",
|
|
184
|
+
label: "服务实例",
|
|
185
|
+
icon: /* @__PURE__ */ e(a, {}),
|
|
186
|
+
path: "/rpc/instance",
|
|
187
|
+
desc: "按服务名展开实例与健康状态"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
title: "向量检索",
|
|
193
|
+
icon: /* @__PURE__ */ e(D, {}),
|
|
194
|
+
items: [
|
|
195
|
+
{
|
|
196
|
+
key: "vector-collection",
|
|
197
|
+
label: "向量集合",
|
|
198
|
+
icon: /* @__PURE__ */ e(C, {}),
|
|
199
|
+
path: "/vector/collections",
|
|
200
|
+
desc: "z-vector 集合台账:维度 / 度量 / 索引 / 向量数"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
key: "vector-search",
|
|
204
|
+
label: "向量检索",
|
|
205
|
+
icon: /* @__PURE__ */ e(d, {}),
|
|
206
|
+
path: "/vector/search",
|
|
207
|
+
desc: "top-k ANN 查询,渲染后端给的命中距离"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
key: "vector-instance",
|
|
211
|
+
label: "实例与端口",
|
|
212
|
+
icon: /* @__PURE__ */ e(a, {}),
|
|
213
|
+
path: "/vector/instance",
|
|
214
|
+
desc: "内嵌 Qdrant REST 服务的 bind 状态(区分「没起」和「没数据」)"
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
title: "图数据库",
|
|
220
|
+
icon: /* @__PURE__ */ e(f, {}),
|
|
221
|
+
items: [
|
|
222
|
+
{
|
|
223
|
+
key: "graph-schema",
|
|
224
|
+
label: "图 Schema",
|
|
225
|
+
icon: /* @__PURE__ */ e(C, {}),
|
|
226
|
+
path: "/graph/schema",
|
|
227
|
+
desc: "z-graph 点类型 / 边类型 / 属性索引(/api/graph/meta/schema)"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
key: "graph-query",
|
|
231
|
+
label: "图查询",
|
|
232
|
+
icon: /* @__PURE__ */ e(_, {}),
|
|
233
|
+
path: "/graph/query",
|
|
234
|
+
desc: "Cypher 执行 + 执行计划,写语句二次确认(/api/graph/query)"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
key: "graph-branches",
|
|
238
|
+
label: "分支与提交",
|
|
239
|
+
icon: /* @__PURE__ */ e(E, {}),
|
|
240
|
+
path: "/graph/branches",
|
|
241
|
+
desc: "Git 式版本面:分支 head 与全量 commit 图(/api/graph/meta/{branches,commits})"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
key: "graph-instance",
|
|
245
|
+
label: "实例与端口",
|
|
246
|
+
icon: /* @__PURE__ */ e(a, {}),
|
|
247
|
+
path: "/graph/instance",
|
|
248
|
+
desc: "内嵌 GraphControlServer 的 bind 状态 + 外来监听者判定(区分「没起」和「没数据」)"
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
title: "网关",
|
|
254
|
+
icon: /* @__PURE__ */ e(y, {}),
|
|
255
|
+
items: [
|
|
256
|
+
{
|
|
257
|
+
key: "gw-routes",
|
|
258
|
+
label: "网关路由",
|
|
259
|
+
icon: /* @__PURE__ */ e(i, {}),
|
|
260
|
+
path: "/gw/routes",
|
|
261
|
+
desc: "z-gw 在线路由表:谓词 / 过滤器 / order / 启停"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
key: "gw-metrics",
|
|
265
|
+
label: "网关指标",
|
|
266
|
+
icon: /* @__PURE__ */ e(n, {}),
|
|
267
|
+
path: "/gw/metrics",
|
|
268
|
+
desc: "zgw.* 请求计数与平均 RT(附 micrometer 桥自证)"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
key: "gw-instance",
|
|
272
|
+
label: "实例与面",
|
|
273
|
+
icon: /* @__PURE__ */ e(a, {}),
|
|
274
|
+
path: "/gw/instance",
|
|
275
|
+
desc: "admin 面接没接通 / Netty 9090 通不通 / 指标桥看不看得见"
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
title: "缓存",
|
|
281
|
+
icon: /* @__PURE__ */ e(D, {}),
|
|
282
|
+
items: [
|
|
283
|
+
{
|
|
284
|
+
key: "cache-overview",
|
|
285
|
+
label: "缓存总览",
|
|
286
|
+
icon: /* @__PURE__ */ e(m, {}),
|
|
287
|
+
path: "/cache/overview",
|
|
288
|
+
desc: "z-cache 双路对账:进程内 MemoryStore ∥ zCacheClient,分歧即警报"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
key: "cache-keys",
|
|
292
|
+
label: "键浏览",
|
|
293
|
+
icon: /* @__PURE__ */ e(d, {}),
|
|
294
|
+
path: "/cache/keys",
|
|
295
|
+
desc: "只读 SCAN/KEYS + TTL;命令名不接受外部输入(无 FLUSHALL 类按钮)"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
key: "cache-stats",
|
|
299
|
+
label: "命中率与热键",
|
|
300
|
+
icon: /* @__PURE__ */ e(n, {}),
|
|
301
|
+
path: "/cache/stats",
|
|
302
|
+
desc: "hits/misses/evictions + accessCount/lfuCounter 热键视图"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
key: "cache-instance",
|
|
306
|
+
label: "实例与端口",
|
|
307
|
+
icon: /* @__PURE__ */ e(a, {}),
|
|
308
|
+
path: "/cache/instance",
|
|
309
|
+
desc: "内嵌 RedisServer bind 上了没 / 6379 上应答的是谁"
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
title: "消息队列",
|
|
315
|
+
icon: /* @__PURE__ */ e(v, {}),
|
|
316
|
+
items: [
|
|
317
|
+
{
|
|
318
|
+
key: "mq-instance",
|
|
319
|
+
label: "实例与端口",
|
|
320
|
+
icon: /* @__PURE__ */ e(a, {}),
|
|
321
|
+
path: "/mq/instance",
|
|
322
|
+
desc: "子进程活着 ≠ 端口归它:z-mq 内嵌是 spawn,归属按子进程 PID 判"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
key: "mq-cluster",
|
|
326
|
+
label: "集群与 Broker",
|
|
327
|
+
icon: /* @__PURE__ */ e(l, {}),
|
|
328
|
+
path: "/mq/cluster",
|
|
329
|
+
desc: "NameServer 码 4 brokerAddrTable(记的是「谁发过心跳」,不是「谁在跑」)"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
key: "mq-topics",
|
|
333
|
+
label: "Topic 列表",
|
|
334
|
+
icon: /* @__PURE__ */ e(i, {}),
|
|
335
|
+
path: "/mq/topics",
|
|
336
|
+
desc: "NameServer 码 8 ∥ Broker 码 8 并排 + 按需码 3 路由详情"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
key: "mq-broker",
|
|
340
|
+
label: "Broker 元数据",
|
|
341
|
+
icon: /* @__PURE__ */ e(G, {}),
|
|
342
|
+
path: "/mq/broker",
|
|
343
|
+
desc: "码 320/321/322/323/324;上游 MVP 恒空的那几格挂原文不挂假表"
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
title: "知识库",
|
|
349
|
+
icon: /* @__PURE__ */ e(g, {}),
|
|
350
|
+
items: [
|
|
351
|
+
{
|
|
352
|
+
key: "kb-workspace",
|
|
353
|
+
label: "工作空间",
|
|
354
|
+
icon: /* @__PURE__ */ e(g, {}),
|
|
355
|
+
path: "/kb/workspaces",
|
|
356
|
+
desc: "知识库工作空间管理"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
key: "kb-documents",
|
|
360
|
+
label: "文档管理",
|
|
361
|
+
icon: /* @__PURE__ */ e(g, {}),
|
|
362
|
+
path: "/kb/documents",
|
|
363
|
+
desc: "知识库文档列表与管理"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
key: "kb-search",
|
|
367
|
+
label: "知识搜索",
|
|
368
|
+
icon: /* @__PURE__ */ e(d, {}),
|
|
369
|
+
path: "/kb/search",
|
|
370
|
+
desc: "统一知识搜索"
|
|
371
|
+
}
|
|
372
|
+
]
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
title: "对象存储",
|
|
376
|
+
icon: /* @__PURE__ */ e(h, {}),
|
|
377
|
+
items: [
|
|
378
|
+
{
|
|
379
|
+
key: "oss-buckets",
|
|
380
|
+
label: "Bucket 列表",
|
|
381
|
+
icon: /* @__PURE__ */ e(h, {}),
|
|
382
|
+
path: "/oss/buckets",
|
|
383
|
+
desc: "GET /api/oss-admin/buckets · z-oss IOssBucketService#listUserBuckets(只读)"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
key: "oss-objects",
|
|
387
|
+
label: "对象浏览",
|
|
388
|
+
icon: /* @__PURE__ */ e(O, {}),
|
|
389
|
+
path: "/oss/objects",
|
|
390
|
+
desc: "对象数/总大小来自 IOssObjectService,physicalExists 来自 IOssBucketService,两栏分开显示"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
key: "oss-account",
|
|
394
|
+
label: "访问身份",
|
|
395
|
+
icon: /* @__PURE__ */ e(s, {}),
|
|
396
|
+
path: "/oss/account",
|
|
397
|
+
desc: "平台账号 → z_oss_user 映射;未开户显式报 409,不退化成空表"
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
title: "脚本中心",
|
|
403
|
+
icon: /* @__PURE__ */ e(R, {}),
|
|
404
|
+
items: [
|
|
405
|
+
{
|
|
406
|
+
key: "script-keys",
|
|
407
|
+
label: "API Key 台账",
|
|
408
|
+
icon: /* @__PURE__ */ e(s, {}),
|
|
409
|
+
path: "/script/keys",
|
|
410
|
+
desc: "GET /api/script/api-key/page · 刻意不渲染 api_key / api_secret_hash 两列(见 TASK-20260925-031)"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
key: "script-monitor",
|
|
414
|
+
label: "调用监控",
|
|
415
|
+
icon: /* @__PURE__ */ e(n, {}),
|
|
416
|
+
path: "/script/monitor",
|
|
417
|
+
desc: "GET /api/script/invoke-log/page + /stats/trend · 实测 124 行日志 / 7 天趋势"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
key: "script-quota",
|
|
421
|
+
label: "配额与用量",
|
|
422
|
+
icon: /* @__PURE__ */ e(M, {}),
|
|
423
|
+
path: "/script/quota",
|
|
424
|
+
desc: "GET /api/script/quota/by-api-key/{id} · 日用量进度条(配额值是字符串,已 Number())"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
key: "script-version",
|
|
428
|
+
label: "脚本版本",
|
|
429
|
+
icon: /* @__PURE__ */ e(N, {}),
|
|
430
|
+
path: "/script/version",
|
|
431
|
+
desc: "GET /api/script/version/list/{scriptId} · 按脚本主表 ID 查,状态是字符串枚举"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
key: "script-tag",
|
|
435
|
+
label: "标签治理",
|
|
436
|
+
icon: /* @__PURE__ */ e(I, {}),
|
|
437
|
+
path: "/script/tag",
|
|
438
|
+
desc: "GET /api/script/tag/list · 3 条标签,颜色取 tag_color(回退 color)"
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
}
|
|
442
|
+
];
|
|
443
|
+
function me({ label: p, reason: r }) {
|
|
444
|
+
return /* @__PURE__ */ b("div", { style: { padding: 40, textAlign: "center", color: "#999" }, children: [
|
|
445
|
+
/* @__PURE__ */ b("h2", { children: [
|
|
446
|
+
"🧪 ",
|
|
447
|
+
p
|
|
448
|
+
] }),
|
|
449
|
+
/* @__PURE__ */ e("p", { style: { maxWidth: 760, margin: "0 auto", textAlign: "left", lineHeight: 1.7 }, children: r || "功能孵化中..." })
|
|
450
|
+
] });
|
|
451
|
+
}
|
|
452
|
+
const he = [
|
|
453
|
+
// ─── 配置中心 ───
|
|
454
|
+
// 精确条目在前 (菜单点击的精确 path, 优先命中以避免被通配覆盖)
|
|
455
|
+
{ path: "/config", element: /* @__PURE__ */ e(t, { to: "/config/list", replace: !0 }) },
|
|
456
|
+
// 配置中心 — 命名空间: 占位,但**理由是量出来的**(2026-10-22 复测,见 TASK-20260925-036):
|
|
457
|
+
// ⚠️ 2026-10-22 之前这一格写的是"缺表 / 缺数据源",**那一版理由已作废**(实测反了),现况如下:
|
|
458
|
+
// ① 数据源**已经有了**:GET /api/namespace/list 实测 200 ⇒ 1 行(namespace_id=DEFAULT_NAMESPACE);
|
|
459
|
+
// 共享 oc 库里 z_namespace 等 8 张表 + z_config_info.encrypted_data_key 列都在
|
|
460
|
+
// (z_namespace 的 information_schema create_time = 2026-10-03 23:02:14;
|
|
461
|
+
// 2026-10-22 本卡把升级脚本的种子行也补齐了,见 TASK-20260925-036)。
|
|
462
|
+
// ② 现在缺的不是数据,是**路由**:真正的命名空间页在 component 的 /z-config/namespace
|
|
463
|
+
// (z-config-component/src/pages/namespace/NamespaceList.jsx);
|
|
464
|
+
// 而 /config/* 这条链走的是 ConfigApp(z-config-component/src/pages/ConfigApp.jsx),
|
|
465
|
+
// 它的 <Routes> 里**没有 namespace 这一条** ⇒ 这里只能占位。
|
|
466
|
+
// 把占位换成真页面 = 给 ConfigApp 加一条 namespace 路由(z-config component 的路由改动,
|
|
467
|
+
// 不在本卡授权范围,见该卡「交接」);另外那一页的列名还是 camelCase(namespaceId),
|
|
468
|
+
// 而实测响应是 snake_case(namespace_id)⇒ 接真页面前要先修列名,否则又是一个恒空的假绿列。
|
|
469
|
+
// ③ 灰度发布这一半仍然没有落点:L3 里灰度是 ZConfigTagRelation 那一族,
|
|
470
|
+
// 而它就在「从未进制品」的那 9 个 controller 里。
|
|
471
|
+
{
|
|
472
|
+
path: "/config/namespace",
|
|
473
|
+
element: /* @__PURE__ */ e(
|
|
474
|
+
me,
|
|
475
|
+
{
|
|
476
|
+
label: "命名空间 / 灰度",
|
|
477
|
+
reason: "缺的不是数据,是路由:命名空间的数据源已经有了 —— GET /api/namespace/list 实测 200 且有 1 行(共享 oc 库的 z_namespace 等 8 张表与 z_config_info.encrypted_data_key 列都在,z_namespace 的information_schema create_time = 2026-10-03 23:02:14;2026-10-22 又把升级脚本的种子行补齐,见 TASK-20260925-036)。真正的命名空间页在 component 的 /z-config/namespace,而 /config/* 走 ConfigApp(z-config-component/src/pages/ConfigApp.jsx),它的路由表里没有 namespace 这一条 ⇒ 这里只能占位;接真页面 = 给 ConfigApp 加一条 namespace 路由,详见 TASK-20260925-036。灰度发布这一半仍无落点:L3 里灰度是 ZConfigTagRelation 那一族,它就在「从未进制品」的那 9 个 controller 里。"
|
|
478
|
+
}
|
|
479
|
+
)
|
|
480
|
+
},
|
|
481
|
+
// 通配兜底: 其余 /config/* (list / history / service / cluster / edit / dashboard 等) 全部交给 ConfigApp 内部路由
|
|
482
|
+
{ path: "/config/*", element: /* @__PURE__ */ e(U, {}) },
|
|
483
|
+
// ─── 密钥中心 ───
|
|
484
|
+
{ path: "/mist", element: /* @__PURE__ */ e(t, { to: "/mist/secret", replace: !0 }) },
|
|
485
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(K, {}) },
|
|
486
|
+
// ─── 元数据中心 (z-meta) ───
|
|
487
|
+
// 子模块自带相对路由 <Routes>, 由 /meta/* 通配把剩余路径交给它
|
|
488
|
+
{ path: "/meta", element: /* @__PURE__ */ e(t, { to: "/meta/app", replace: !0 }) },
|
|
489
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(L, {}) },
|
|
490
|
+
// ─── 消息中心 (z-msg) ───
|
|
491
|
+
{ path: "/msg", element: /* @__PURE__ */ e(t, { to: "/msg/inbox", replace: !0 }) },
|
|
492
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(j, {}) },
|
|
493
|
+
// ─── 服务注册 (z-rpc, 数据源是 z-config 的 naming) ───
|
|
494
|
+
{ path: "/rpc", element: /* @__PURE__ */ e(t, { to: "/rpc/service", replace: !0 }) },
|
|
495
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(W, {}) },
|
|
496
|
+
// ─── 向量检索 (z-vector) ───
|
|
497
|
+
// REST 面是内嵌 QdrantRestServer(非 Spring MVC),经 z-opc 的 /api/vector/** 代理出去
|
|
498
|
+
{ path: "/vector", element: /* @__PURE__ */ e(t, { to: "/vector/collections", replace: !0 }) },
|
|
499
|
+
{ path: "/vector/*", element: /* @__PURE__ */ e(H, {}) },
|
|
500
|
+
// ─── 图数据库 (z-graph) ───
|
|
501
|
+
// REST 面是内嵌 GraphControlServer(JDK HttpServer,非 Spring MVC),经 z-opc 的 /api/graph/** 代理出去
|
|
502
|
+
// ⚠ 内嵌端口是 8091 不是 8090:8090 归一个外部进程,且被 BizKnowledgeGraphService 当业务依赖在用
|
|
503
|
+
{ path: "/graph", element: /* @__PURE__ */ e(t, { to: "/graph/schema", replace: !0 }) },
|
|
504
|
+
{ path: "/graph/*", element: /* @__PURE__ */ e(F, {}) },
|
|
505
|
+
// ─── 网关 (z-gw) ───
|
|
506
|
+
// admin 面是 z-gw-admin 的原生 Spring MVC(pom 加 io.github.yuku123:z-gw-admin 后挂 /gw/admin/**,12 条 handler);
|
|
507
|
+
// 页面不直连裸 /gw/admin(不在 sso.intercept-paths 内),一律走 z-opc 自己的环回代理 GET /api/gw/**
|
|
508
|
+
{ path: "/gw", element: /* @__PURE__ */ e(t, { to: "/gw/routes", replace: !0 }) },
|
|
509
|
+
{ path: "/gw/*", element: /* @__PURE__ */ e(V, {}) },
|
|
510
|
+
// ─── 缓存 (z-cache) ───
|
|
511
|
+
// z-cache 只有 RESP over TCP(:6379),没有 HTTP 管理面 ⇒ /api/cache/** 不是转发器,
|
|
512
|
+
// 是 CacheProxyController 在 JVM 内读 MemoryStore + 用现成 zCacheClient 发只读命令拼出来的结构化 JSON。
|
|
513
|
+
{ path: "/cache", element: /* @__PURE__ */ e(t, { to: "/cache/overview", replace: !0 }) },
|
|
514
|
+
{ path: "/cache/*", element: /* @__PURE__ */ e(Z, {}) },
|
|
515
|
+
// ─── 消息队列 (z-mq) ───
|
|
516
|
+
// :9877/:10912 是 z-mq-remoting 的 Netty 私有二进制协议(端口从 9876/10911 挪开,那两个被旧世代孤儿 JVM 占着)
|
|
517
|
+
// ⇒ /api/mq/** 是「固定只读请求码 → JSON」的协议适配器,端点穷举,未列出的子路径一律 404 并回显可用清单
|
|
518
|
+
{ path: "/mq", element: /* @__PURE__ */ e(t, { to: "/mq/instance", replace: !0 }) },
|
|
519
|
+
{ path: "/mq/*", element: /* @__PURE__ */ e(Q, {}) },
|
|
520
|
+
// ─── 知识库 (z-kb) — 主机侧确定性装配,接口真通(2026-09-25 实测) ───
|
|
521
|
+
// 09-25 早先"页面在、/api/kb/** 全 404"的判断已被推翻:404 的根因是 z-kb 的自动装配清单错位
|
|
522
|
+
// (4 条 .imports 路径不存在 + 2 份无 key 的 spring.factories + z-kb-web 压根没有登记),
|
|
523
|
+
// 而不是"前端把 404 读成空列表"——src/kb/services/api.js 有自己的 fetch 包装,!res.ok 直接 throw,
|
|
524
|
+
// 三个页面都渲染"接口错误:{message}"。
|
|
525
|
+
// 现由 KbAssemblyConfig 在 host 侧 @Import 五个 AutoConfiguration + @ComponentScan controller,
|
|
526
|
+
// 并用一个 BFPP 把 z-kb 的 @Bean 产物改名(避让别的模块按 @Resource 字段名注入到同名 bean 上)。
|
|
527
|
+
// 实测:/kb/workspaces 1 行(314 篇/8746 实体/60479 关系)、/kb/documents 服务端分页 20 条 × 16 页、
|
|
528
|
+
// /kb/search FUSION 10 命中 + GRAPH 4 命中;向量召回恒 0 是 L3 读写两侧集合名不一致(见 SearchPage 的告警条)。
|
|
529
|
+
{ path: "/kb", element: /* @__PURE__ */ e(t, { to: "/kb/workspaces", replace: !0 }) },
|
|
530
|
+
{ path: "/kb/*", element: /* @__PURE__ */ e(J, {}) },
|
|
531
|
+
// ─── 对象存储 (z-oss) — TASK-003: 走 z-opc 侧 /api/oss-admin/**,不再需要 AK/SK 下发 ───
|
|
532
|
+
// z-oss 原生 /api/v1/** 的 AuthenticationInterceptor 要 X-Zoss-Access-Key/Secret-Key(实测带平台会话仍 401),
|
|
533
|
+
// 浏览器侧没有凭证下发通道;OssAdminController 改为在同一 JVM 内直接调 IOssBucketService/IOssObjectService,
|
|
534
|
+
// 鉴权用平台 SSO + username→z_oss_user 映射,且只有 @GetMapping(无写入口)。
|
|
535
|
+
// 刻意不接 E2EAliasController 的 /api/oss/list(异常吞成空列表)与 /api/oss/{bucket}(硬编码 stub 零值)。
|
|
536
|
+
{ path: "/oss", element: /* @__PURE__ */ e(t, { to: "/oss/buckets", replace: !0 }) },
|
|
537
|
+
{ path: "/oss/*", element: /* @__PURE__ */ e(Y, {}) },
|
|
538
|
+
// ─── 脚本中心 (z-script) ───
|
|
539
|
+
// 组件自带 5 个 Tab,这里按"一个能力一条菜单"把 Tab 键透传成 initialTab,
|
|
540
|
+
// 而不是给每个 Tab 复刻一份页面组件。
|
|
541
|
+
// ⚠️ 只挂这 5 个 Tab:脚本清单页(系统面的 /script/manage)刻意不接进本面 ——
|
|
542
|
+
// 它的数据源 /api/script/list 在部署制品里被 z-script 自己的 ApiKeyAuthInterceptor 拦着,
|
|
543
|
+
// 带平台会话也是 401,而共用 axios 拦截器把任何 401 当会话过期 ⇒ 一点进来就被踢到 /login。
|
|
544
|
+
// 在那条链修好之前(TASK-20260925-032),把它放进菜单等于在中间件面埋一个登出陷阱。
|
|
545
|
+
{ path: "/script", element: /* @__PURE__ */ e(t, { to: "/script/monitor", replace: !0 }) },
|
|
546
|
+
{ path: "/script/keys", element: /* @__PURE__ */ e(o, { initialTab: "apikey" }) },
|
|
547
|
+
{ path: "/script/monitor", element: /* @__PURE__ */ e(o, { initialTab: "monitor" }) },
|
|
548
|
+
{ path: "/script/quota", element: /* @__PURE__ */ e(o, { initialTab: "quota" }) },
|
|
549
|
+
{ path: "/script/version", element: /* @__PURE__ */ e(o, { initialTab: "version" }) },
|
|
550
|
+
{ path: "/script/tag", element: /* @__PURE__ */ e(o, { initialTab: "tag" }) },
|
|
551
|
+
{ path: "/script/*", element: /* @__PURE__ */ e(t, { to: "/script/monitor", replace: !0 }) },
|
|
552
|
+
// ─── 各域组件文档(lead 008 §7)───
|
|
553
|
+
// matchWorkbenchPath 是**两趟**匹配(先全表精确、再全表通配)⇒ 精确条目在数组里的
|
|
554
|
+
// 位置无所谓,但**必须存在**:少了 /config/docs 这一条,/config/docs 就会被
|
|
555
|
+
// 通配 /config/* 吃掉 ⇒ 文档页深链落空。
|
|
556
|
+
{ path: "/config/docs", element: /* @__PURE__ */ e(X, {}) },
|
|
557
|
+
{ path: "/mist/docs", element: /* @__PURE__ */ e($, {}) },
|
|
558
|
+
{ path: "/meta/docs", element: /* @__PURE__ */ e(ee, {}) },
|
|
559
|
+
{ path: "/msg/docs", element: /* @__PURE__ */ e(te, {}) },
|
|
560
|
+
{ path: "/rpc/docs", element: /* @__PURE__ */ e(ce, {}) },
|
|
561
|
+
{ path: "/kb/docs", element: /* @__PURE__ */ e(ae, {}) },
|
|
562
|
+
{ path: "/oss/docs", element: /* @__PURE__ */ e(oe, {}) },
|
|
563
|
+
{ path: "/vector/docs", element: /* @__PURE__ */ e(ie, {}) },
|
|
564
|
+
{ path: "/graph/docs", element: /* @__PURE__ */ e(ne, {}) },
|
|
565
|
+
{ path: "/gw/docs", element: /* @__PURE__ */ e(se, {}) },
|
|
566
|
+
{ path: "/cache/docs", element: /* @__PURE__ */ e(pe, {}) },
|
|
567
|
+
{ path: "/mq/docs", element: /* @__PURE__ */ e(re, {}) }
|
|
568
|
+
];
|
|
569
|
+
function _e() {
|
|
570
|
+
return /* @__PURE__ */ e(
|
|
571
|
+
B,
|
|
572
|
+
{
|
|
573
|
+
groups: le,
|
|
574
|
+
routes: he,
|
|
575
|
+
mode: "middleware",
|
|
576
|
+
emptyText: "请从左侧菜单选择中间件模块"
|
|
577
|
+
}
|
|
578
|
+
);
|
|
579
|
+
}
|
|
580
|
+
export {
|
|
581
|
+
_e as default
|
|
582
|
+
};
|
|
@@ -3,7 +3,7 @@ import { useNavigate as G, useParams as pe, useLocation as he, useRoutes as ue }
|
|
|
3
3
|
import { useState as _, useEffect as M, useMemo as me } from "react";
|
|
4
4
|
import { RocketOutlined as ye, AppstoreOutlined as le, BellOutlined as ae, PlayCircleOutlined as V, CheckCircleOutlined as Q, CloseCircleOutlined as X, BulbOutlined as Y, PlusOutlined as B, EditOutlined as ge, CopyOutlined as ne, DeleteOutlined as fe, ArrowLeftOutlined as be, SaveOutlined as we, ReloadOutlined as Ie, ShopOutlined as ie, StarFilled as _e, CloudDownloadOutlined as ke, DashboardOutlined as ve, InfoCircleOutlined as xe } from "@ant-design/icons";
|
|
5
5
|
import { Typography as $, Row as H, Col as O, Card as F, Statistic as P, Table as se, Tag as b, Form as h, Input as N, Button as y, Space as S, Popconfirm as de, Drawer as J, Select as z, message as g, Tabs as Ce, InputNumber as Te, Switch as Ae, Descriptions as R, Timeline as Ee, Spin as Ne } from "antd";
|
|
6
|
-
import { r as w } from "./ComponentDoc-
|
|
6
|
+
import { r as w } from "./ComponentDoc-y1NfPcHG.js";
|
|
7
7
|
import { ListTable as K } from "@yuku123/z-frontend-common/ui";
|
|
8
8
|
const { Title: Se, Paragraph: Oe } = $;
|
|
9
9
|
function q() {
|