@customize-agent/server 4.60.12 → 4.60.14
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +61 -61
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.json +1 -1
- package/.next/server/chunks/1243.js +1 -1
- package/.next/server/chunks/1928.js +1 -1
- package/.next/server/chunks/1936.js +9 -9
- package/.next/server/chunks/2328.js +1 -1
- package/.next/server/chunks/4722.js +3 -3
- package/.next/server/chunks/6021.js +1 -0
- package/.next/server/chunks/6321.js +1 -1
- package/.next/server/chunks/6822.js +1 -1
- package/.next/server/chunks/8204.js +1 -1
- package/.next/server/chunks/9666.js +13 -13
- package/.next/server/instrumentation.js.nft.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/api/assets/generated/preview.js.nft.json +1 -1
- package/.next/server/pages/api/assets/generated.js.nft.json +1 -1
- package/.next/server/pages/api/config/embedding/healthCheck.js.nft.json +1 -1
- package/.next/server/pages/api/documents/canvas/[id].js.nft.json +1 -1
- package/.next/server/pages/api/documents/export.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generate/preview.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generate.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/events.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/figure/[name].js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/instruction.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/nodes/[nodeId].js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/nodes.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/pause.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/preview.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/repair/[rid]/confirm.js +1 -1
- package/.next/server/pages/api/documents/generated/[id]/repair/[rid]/confirm.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/repair/[rid]/rollback.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/repair.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/report.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id]/resume-generate.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id].js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated.js.nft.json +1 -1
- package/.next/server/pages/api/health.js +1 -1
- package/.next/server/pages/api/jobs/[id].js.nft.json +1 -1
- package/.next/server/pages/api/kb/categories.js.nft.json +1 -1
- package/.next/server/pages/api/kb/duplicates.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/detail.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/export.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/open.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/preview-pdf-page.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/reindex.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/search.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/source-preview.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files.js.nft.json +1 -1
- package/.next/server/pages/api/kb/ignore.js.nft.json +1 -1
- package/.next/server/pages/api/kb/material-groups.js.nft.json +1 -1
- package/.next/server/pages/api/kb/operations.js.nft.json +1 -1
- package/.next/server/pages/api/kb/reindex.js.nft.json +1 -1
- package/.next/server/pages/api/kb/stats.js.nft.json +1 -1
- package/.next/server/pages/api/kb/tags.js.nft.json +1 -1
- package/.next/server/pages/api/kb/upload/complete.js.nft.json +1 -1
- package/.next/server/pages/api/kb/upload.js +1 -1
- package/.next/server/pages/api/kb/upload.js.nft.json +1 -1
- package/.next/server/pages/api/system/reset.js.nft.json +1 -1
- package/.next/server/pages/canvas/[id].html +1 -1
- package/.next/server/pages/canvas.html +1 -1
- package/.next/server/pages/documents.html +1 -1
- package/.next/server/pages/guide.html +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/knowledge/file-detail.html +1 -1
- package/.next/server/pages/knowledge/files.html +1 -1
- package/.next/server/pages/knowledge/manage.html +1 -1
- package/.next/server/pages/knowledge/source-preview.html +1 -1
- package/.next/server/pages/knowledge.html +1 -1
- package/.next/server/pages/models.html +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/prompt.html +1 -1
- package/.next/server/pages/settings.html +1 -1
- package/.next/server/pages/skills/[id]/edit.html +1 -1
- package/.next/server/pages/skills/[id]/edit.js.nft.json +1 -1
- package/.next/server/pages/skills/[id].html +1 -1
- package/.next/server/pages/skills/[id].js.nft.json +1 -1
- package/.next/server/pages/skills/new.html +1 -1
- package/.next/server/pages/skills/new.js.nft.json +1 -1
- package/.next/server/pages/skills.html +1 -1
- package/.next/server/pages/system/logs.html +1 -1
- package/.next/server/pages-manifest.json +30 -30
- package/.next/static/c7f9aefd14f63a15dfe1a3ab4b189ce98e5784658308b514fdf3e998d82aba47/_buildManifest.js +1 -0
- package/.next/static/chunks/162-36b2a3e6ee7d9717.js +8 -0
- package/.next/static/chunks/257-879f095890deadad.js +1 -0
- package/.next/static/chunks/313-4b3ff7075e0ff3c3.js +1 -0
- package/.next/static/chunks/530-98c3b3fbf3fcd8e3.js +1 -0
- package/.next/static/chunks/551-446a9d48add4944f.js +16 -0
- package/.next/static/chunks/715-6285c5942e5ec5ea.js +1 -0
- package/.next/static/chunks/717-743b697a417dd5ee.js +4 -0
- package/.next/static/chunks/748-e13db510f76568b1.js +1 -0
- package/.next/static/chunks/795-3edd02531a6d39ae.js +1 -0
- package/.next/static/chunks/955-f0542d4dea118b62.js +1 -0
- package/.next/static/chunks/{964-569c27befeaff602.js → 964-82cc4701f08f7351.js} +2 -2
- package/.next/static/chunks/pages/{_app-28228d95968c4d44.js → _app-4165169ba0fabd04.js} +1 -1
- package/.next/static/chunks/pages/canvas/[id]-792d02e3874c19c0.js +1 -0
- package/.next/static/chunks/pages/{canvas-ffb08963e5cf9558.js → canvas-e011bb88585d3441.js} +1 -1
- package/.next/static/chunks/pages/guide-3185f12fbcb5a6af.js +1 -0
- package/.next/static/chunks/pages/knowledge/file-detail-c34e1f995fb8316f.js +1 -0
- package/.next/static/chunks/pages/knowledge/source-preview-814c683fc3723177.js +1 -0
- package/.next/static/chunks/pages/knowledge-3afd4bc337d44550.js +1 -0
- package/.next/static/chunks/pages/models-e07b2e29595effd7.js +1 -0
- package/.next/static/chunks/pages/prompt-47a1ac955831dedb.js +1 -0
- package/.next/static/chunks/pages/settings-8879d8c90bee2025.js +1 -0
- package/.next/static/chunks/pages/skills/[id]/{edit-89bbed9a3a854b04.js → edit-88e2490a4190467b.js} +1 -1
- package/.next/static/chunks/pages/skills/[id]-4700cd743c5efe05.js +1 -0
- package/.next/static/chunks/pages/skills/{new-124599c772150a1d.js → new-b2204742b055565a.js} +1 -1
- package/.next/static/chunks/pages/skills-1f6bcb42cd90abeb.js +1 -0
- package/.next/static/chunks/pages/system/logs-8c5dd4d06fa9d8c9.js +1 -0
- package/.next/static/css/cb79b8022e718258.css +1 -0
- package/package.json +2 -2
- package/scripts/half-built-scan.baseline.json +3 -4
- package/scripts/kb-index-worker.cjs +4 -1
- package/.next/server/chunks/9399.js +0 -1
- package/.next/static/b1bfae7c0251c082ada423097236fed51bd95e3e34a0749ccd55030dbf543f5d/_buildManifest.js +0 -1
- package/.next/static/chunks/162-a5be07e04aedf98a.js +0 -8
- package/.next/static/chunks/2-434e34e83819f4e4.js +0 -1
- package/.next/static/chunks/257-6938c7ab284ab21c.js +0 -1
- package/.next/static/chunks/280-3ce590d421b5c47d.js +0 -16
- package/.next/static/chunks/324-650dc02536b071bf.js +0 -4
- package/.next/static/chunks/425-42f2568bcdd98f4c.js +0 -1
- package/.next/static/chunks/530-7e79396d68742829.js +0 -1
- package/.next/static/chunks/564-d3426eef3e3e415b.js +0 -4
- package/.next/static/chunks/781-a6b83dbcd1a33cab.js +0 -1
- package/.next/static/chunks/795-1c1cb3bf1f600e99.js +0 -1
- package/.next/static/chunks/819-96247c9054ad9683.js +0 -1
- package/.next/static/chunks/pages/canvas/[id]-534b45f39f39630c.js +0 -1
- package/.next/static/chunks/pages/guide-82ae330966139191.js +0 -1
- package/.next/static/chunks/pages/knowledge/file-detail-dc1807f8ed32cd59.js +0 -1
- package/.next/static/chunks/pages/knowledge/source-preview-4309277bf497521c.js +0 -1
- package/.next/static/chunks/pages/knowledge-84e386d765ddd311.js +0 -1
- package/.next/static/chunks/pages/models-5eee2d09deb081fb.js +0 -1
- package/.next/static/chunks/pages/prompt-d75de6a6fead73c9.js +0 -1
- package/.next/static/chunks/pages/settings-f6dfff648cf9ac0e.js +0 -1
- package/.next/static/chunks/pages/skills/[id]-5130d68546be49cb.js +0 -1
- package/.next/static/chunks/pages/skills-476714776be63ce5.js +0 -1
- package/.next/static/chunks/pages/system/logs-40edb648d89b0749.js +0 -1
- package/.next/static/css/f4f2d386cfeae8e4.css +0 -1
- /package/.next/static/{b1bfae7c0251c082ada423097236fed51bd95e3e34a0749ccd55030dbf543f5d → c7f9aefd14f63a15dfe1a3ab4b189ce98e5784658308b514fdf3e998d82aba47}/_ssgManifest.js +0 -0
package/.next/BUILD_ID
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c7f9aefd14f63a15dfe1a3ab4b189ce98e5784658308b514fdf3e998d82aba47
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"ampDevFiles": [],
|
|
7
7
|
"lowPriorityFiles": [
|
|
8
|
-
"static/
|
|
9
|
-
"static/
|
|
8
|
+
"static/c7f9aefd14f63a15dfe1a3ab4b189ce98e5784658308b514fdf3e998d82aba47/_buildManifest.js",
|
|
9
|
+
"static/c7f9aefd14f63a15dfe1a3ab4b189ce98e5784658308b514fdf3e998d82aba47/_ssgManifest.js"
|
|
10
10
|
],
|
|
11
11
|
"rootMainFiles": [],
|
|
12
12
|
"rootMainFilesTree": {},
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
17
17
|
"static/chunks/main-0c91f573696223ca.js",
|
|
18
18
|
"static/chunks/880-64d8a15c524106d2.js",
|
|
19
|
-
"static/chunks/795-
|
|
19
|
+
"static/chunks/795-3edd02531a6d39ae.js",
|
|
20
20
|
"static/chunks/pages/index-cb27bfa36c212ab5.js"
|
|
21
21
|
],
|
|
22
22
|
"/_app": [
|
|
23
23
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
24
24
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
25
25
|
"static/chunks/main-0c91f573696223ca.js",
|
|
26
|
-
"static/css/
|
|
27
|
-
"static/chunks/pages/_app-
|
|
26
|
+
"static/css/cb79b8022e718258.css",
|
|
27
|
+
"static/chunks/pages/_app-4165169ba0fabd04.js"
|
|
28
28
|
],
|
|
29
29
|
"/_error": [
|
|
30
30
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
37
37
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
38
38
|
"static/chunks/main-0c91f573696223ca.js",
|
|
39
|
-
"static/chunks/
|
|
40
|
-
"static/chunks/
|
|
39
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
40
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
41
41
|
"static/chunks/576-6699fed6c88502fe.js",
|
|
42
42
|
"static/chunks/499-2233cadc6d4da647.js",
|
|
43
43
|
"static/chunks/127-7d37d37dab02bd10.js",
|
|
44
|
-
"static/chunks/530-
|
|
45
|
-
"static/chunks/pages/canvas-
|
|
44
|
+
"static/chunks/530-98c3b3fbf3fcd8e3.js",
|
|
45
|
+
"static/chunks/pages/canvas-e011bb88585d3441.js"
|
|
46
46
|
],
|
|
47
47
|
"/canvas/[id]": [
|
|
48
48
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
49
49
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
50
50
|
"static/chunks/main-0c91f573696223ca.js",
|
|
51
|
-
"static/chunks/
|
|
52
|
-
"static/chunks/
|
|
51
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
52
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
53
53
|
"static/chunks/665-0634aa49137defc4.js",
|
|
54
54
|
"static/chunks/576-6699fed6c88502fe.js",
|
|
55
55
|
"static/chunks/569-2bfdde9e402af5b2.js",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"static/chunks/808-0506edc7454b5c0e.js",
|
|
58
58
|
"static/chunks/127-7d37d37dab02bd10.js",
|
|
59
59
|
"static/chunks/579-fc0a2eb64aedb001.js",
|
|
60
|
-
"static/chunks/530-
|
|
61
|
-
"static/chunks/pages/canvas/[id]-
|
|
60
|
+
"static/chunks/530-98c3b3fbf3fcd8e3.js",
|
|
61
|
+
"static/chunks/pages/canvas/[id]-792d02e3874c19c0.js"
|
|
62
62
|
],
|
|
63
63
|
"/documents": [
|
|
64
64
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
@@ -70,43 +70,43 @@
|
|
|
70
70
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
71
71
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
72
72
|
"static/chunks/main-0c91f573696223ca.js",
|
|
73
|
-
"static/chunks/
|
|
73
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
74
74
|
"static/chunks/665-0634aa49137defc4.js",
|
|
75
75
|
"static/chunks/569-2bfdde9e402af5b2.js",
|
|
76
76
|
"static/chunks/787-207289f4bb577708.js",
|
|
77
|
-
"static/chunks/162-
|
|
78
|
-
"static/chunks/pages/guide-
|
|
77
|
+
"static/chunks/162-36b2a3e6ee7d9717.js",
|
|
78
|
+
"static/chunks/pages/guide-3185f12fbcb5a6af.js"
|
|
79
79
|
],
|
|
80
80
|
"/knowledge": [
|
|
81
81
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
82
82
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
83
83
|
"static/chunks/main-0c91f573696223ca.js",
|
|
84
|
-
"static/chunks/
|
|
85
|
-
"static/chunks/
|
|
84
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
85
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
86
86
|
"static/chunks/665-0634aa49137defc4.js",
|
|
87
87
|
"static/chunks/576-6699fed6c88502fe.js",
|
|
88
88
|
"static/chunks/499-2233cadc6d4da647.js",
|
|
89
89
|
"static/chunks/338-19ccbaec57a7bf9c.js",
|
|
90
|
-
"static/chunks/964-
|
|
90
|
+
"static/chunks/964-82cc4701f08f7351.js",
|
|
91
91
|
"static/css/2da1c822e3bdb4bb.css",
|
|
92
|
-
"static/chunks/pages/knowledge-
|
|
92
|
+
"static/chunks/pages/knowledge-3afd4bc337d44550.js"
|
|
93
93
|
],
|
|
94
94
|
"/knowledge/file-detail": [
|
|
95
95
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
96
96
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
97
97
|
"static/chunks/main-0c91f573696223ca.js",
|
|
98
|
-
"static/chunks/
|
|
99
|
-
"static/chunks/
|
|
98
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
99
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
100
100
|
"static/chunks/665-0634aa49137defc4.js",
|
|
101
101
|
"static/chunks/576-6699fed6c88502fe.js",
|
|
102
102
|
"static/chunks/569-2bfdde9e402af5b2.js",
|
|
103
103
|
"static/chunks/499-2233cadc6d4da647.js",
|
|
104
104
|
"static/chunks/787-207289f4bb577708.js",
|
|
105
105
|
"static/chunks/338-19ccbaec57a7bf9c.js",
|
|
106
|
-
"static/chunks/964-
|
|
106
|
+
"static/chunks/964-82cc4701f08f7351.js",
|
|
107
107
|
"static/chunks/808-0506edc7454b5c0e.js",
|
|
108
108
|
"static/css/2da1c822e3bdb4bb.css",
|
|
109
|
-
"static/chunks/pages/knowledge/file-detail-
|
|
109
|
+
"static/chunks/pages/knowledge/file-detail-c34e1f995fb8316f.js"
|
|
110
110
|
],
|
|
111
111
|
"/knowledge/files": [
|
|
112
112
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
@@ -124,127 +124,127 @@
|
|
|
124
124
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
125
125
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
126
126
|
"static/chunks/main-0c91f573696223ca.js",
|
|
127
|
-
"static/chunks/
|
|
128
|
-
"static/chunks/
|
|
127
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
128
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
129
129
|
"static/chunks/665-0634aa49137defc4.js",
|
|
130
130
|
"static/chunks/569-2bfdde9e402af5b2.js",
|
|
131
131
|
"static/chunks/499-2233cadc6d4da647.js",
|
|
132
132
|
"static/chunks/787-207289f4bb577708.js",
|
|
133
133
|
"static/chunks/808-0506edc7454b5c0e.js",
|
|
134
134
|
"static/chunks/318-ca122b774ea4ee84.js",
|
|
135
|
-
"static/chunks/
|
|
136
|
-
"static/chunks/pages/knowledge/source-preview-
|
|
135
|
+
"static/chunks/955-f0542d4dea118b62.js",
|
|
136
|
+
"static/chunks/pages/knowledge/source-preview-814c683fc3723177.js"
|
|
137
137
|
],
|
|
138
138
|
"/models": [
|
|
139
139
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
140
140
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
141
141
|
"static/chunks/main-0c91f573696223ca.js",
|
|
142
|
-
"static/chunks/
|
|
143
|
-
"static/chunks/
|
|
142
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
143
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
144
144
|
"static/chunks/576-6699fed6c88502fe.js",
|
|
145
145
|
"static/chunks/338-19ccbaec57a7bf9c.js",
|
|
146
146
|
"static/chunks/864-b06700e1a4e573f2.js",
|
|
147
147
|
"static/chunks/318-ca122b774ea4ee84.js",
|
|
148
|
-
"static/chunks/pages/models-
|
|
148
|
+
"static/chunks/pages/models-e07b2e29595effd7.js"
|
|
149
149
|
],
|
|
150
150
|
"/overview": [
|
|
151
151
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
152
152
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
153
153
|
"static/chunks/main-0c91f573696223ca.js",
|
|
154
154
|
"static/chunks/880-64d8a15c524106d2.js",
|
|
155
|
-
"static/chunks/795-
|
|
155
|
+
"static/chunks/795-3edd02531a6d39ae.js",
|
|
156
156
|
"static/chunks/pages/overview-8713b5d37af0eeb3.js"
|
|
157
157
|
],
|
|
158
158
|
"/prompt": [
|
|
159
159
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
160
160
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
161
161
|
"static/chunks/main-0c91f573696223ca.js",
|
|
162
|
-
"static/chunks/
|
|
163
|
-
"static/chunks/
|
|
162
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
163
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
164
164
|
"static/chunks/665-0634aa49137defc4.js",
|
|
165
165
|
"static/chunks/576-6699fed6c88502fe.js",
|
|
166
166
|
"static/chunks/499-2233cadc6d4da647.js",
|
|
167
167
|
"static/chunks/338-19ccbaec57a7bf9c.js",
|
|
168
|
-
"static/chunks/964-
|
|
168
|
+
"static/chunks/964-82cc4701f08f7351.js",
|
|
169
169
|
"static/chunks/711-40c1a2dbd15c2807.js",
|
|
170
|
-
"static/chunks/pages/prompt-
|
|
170
|
+
"static/chunks/pages/prompt-47a1ac955831dedb.js"
|
|
171
171
|
],
|
|
172
172
|
"/settings": [
|
|
173
173
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
174
174
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
175
175
|
"static/chunks/main-0c91f573696223ca.js",
|
|
176
|
-
"static/chunks/pages/settings-
|
|
176
|
+
"static/chunks/pages/settings-8879d8c90bee2025.js"
|
|
177
177
|
],
|
|
178
178
|
"/skills": [
|
|
179
179
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
180
180
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
181
181
|
"static/chunks/main-0c91f573696223ca.js",
|
|
182
|
-
"static/chunks/
|
|
183
|
-
"static/chunks/
|
|
182
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
183
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
184
184
|
"static/chunks/665-0634aa49137defc4.js",
|
|
185
185
|
"static/chunks/569-2bfdde9e402af5b2.js",
|
|
186
186
|
"static/chunks/499-2233cadc6d4da647.js",
|
|
187
187
|
"static/chunks/787-207289f4bb577708.js",
|
|
188
188
|
"static/chunks/338-19ccbaec57a7bf9c.js",
|
|
189
|
-
"static/chunks/964-
|
|
190
|
-
"static/chunks/
|
|
191
|
-
"static/chunks/pages/skills-
|
|
189
|
+
"static/chunks/964-82cc4701f08f7351.js",
|
|
190
|
+
"static/chunks/715-6285c5942e5ec5ea.js",
|
|
191
|
+
"static/chunks/pages/skills-1f6bcb42cd90abeb.js"
|
|
192
192
|
],
|
|
193
193
|
"/skills/[id]": [
|
|
194
194
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
195
195
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
196
196
|
"static/chunks/main-0c91f573696223ca.js",
|
|
197
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
197
198
|
"static/chunks/665-0634aa49137defc4.js",
|
|
198
199
|
"static/chunks/569-2bfdde9e402af5b2.js",
|
|
199
200
|
"static/chunks/787-207289f4bb577708.js",
|
|
200
|
-
"static/chunks/
|
|
201
|
-
"static/chunks/
|
|
202
|
-
"static/chunks/pages/skills/[id]-5130d68546be49cb.js"
|
|
201
|
+
"static/chunks/748-e13db510f76568b1.js",
|
|
202
|
+
"static/chunks/pages/skills/[id]-4700cd743c5efe05.js"
|
|
203
203
|
],
|
|
204
204
|
"/skills/[id]/edit": [
|
|
205
205
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
206
206
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
207
207
|
"static/chunks/main-0c91f573696223ca.js",
|
|
208
|
-
"static/chunks/
|
|
209
|
-
"static/chunks/
|
|
208
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
209
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
210
210
|
"static/chunks/665-0634aa49137defc4.js",
|
|
211
211
|
"static/chunks/576-6699fed6c88502fe.js",
|
|
212
212
|
"static/chunks/569-2bfdde9e402af5b2.js",
|
|
213
213
|
"static/chunks/787-207289f4bb577708.js",
|
|
214
214
|
"static/chunks/864-b06700e1a4e573f2.js",
|
|
215
|
-
"static/chunks/
|
|
216
|
-
"static/chunks/
|
|
217
|
-
"static/chunks/257-
|
|
218
|
-
"static/chunks/pages/skills/[id]/edit-
|
|
215
|
+
"static/chunks/313-4b3ff7075e0ff3c3.js",
|
|
216
|
+
"static/chunks/748-e13db510f76568b1.js",
|
|
217
|
+
"static/chunks/257-879f095890deadad.js",
|
|
218
|
+
"static/chunks/pages/skills/[id]/edit-88e2490a4190467b.js"
|
|
219
219
|
],
|
|
220
220
|
"/skills/new": [
|
|
221
221
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
222
222
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
223
223
|
"static/chunks/main-0c91f573696223ca.js",
|
|
224
|
-
"static/chunks/
|
|
225
|
-
"static/chunks/
|
|
224
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
225
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
226
226
|
"static/chunks/665-0634aa49137defc4.js",
|
|
227
227
|
"static/chunks/576-6699fed6c88502fe.js",
|
|
228
228
|
"static/chunks/569-2bfdde9e402af5b2.js",
|
|
229
229
|
"static/chunks/787-207289f4bb577708.js",
|
|
230
230
|
"static/chunks/864-b06700e1a4e573f2.js",
|
|
231
|
-
"static/chunks/
|
|
232
|
-
"static/chunks/
|
|
233
|
-
"static/chunks/257-
|
|
234
|
-
"static/chunks/pages/skills/new-
|
|
231
|
+
"static/chunks/313-4b3ff7075e0ff3c3.js",
|
|
232
|
+
"static/chunks/748-e13db510f76568b1.js",
|
|
233
|
+
"static/chunks/257-879f095890deadad.js",
|
|
234
|
+
"static/chunks/pages/skills/new-b2204742b055565a.js"
|
|
235
235
|
],
|
|
236
236
|
"/system/logs": [
|
|
237
237
|
"static/chunks/webpack-6224d37324e372cb.js",
|
|
238
238
|
"static/chunks/framework-4b565b3ddc94cdac.js",
|
|
239
239
|
"static/chunks/main-0c91f573696223ca.js",
|
|
240
|
-
"static/chunks/
|
|
241
|
-
"static/chunks/
|
|
240
|
+
"static/chunks/717-743b697a417dd5ee.js",
|
|
241
|
+
"static/chunks/551-446a9d48add4944f.js",
|
|
242
242
|
"static/chunks/665-0634aa49137defc4.js",
|
|
243
243
|
"static/chunks/576-6699fed6c88502fe.js",
|
|
244
244
|
"static/chunks/499-2233cadc6d4da647.js",
|
|
245
245
|
"static/chunks/338-19ccbaec57a7bf9c.js",
|
|
246
|
-
"static/chunks/964-
|
|
247
|
-
"static/chunks/pages/system/logs-
|
|
246
|
+
"static/chunks/964-82cc4701f08f7351.js",
|
|
247
|
+
"static/chunks/pages/system/logs-8c5dd4d06fa9d8c9.js"
|
|
248
248
|
]
|
|
249
249
|
},
|
|
250
250
|
"ampFirstPages": []
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"routes": {},
|
|
4
4
|
"dynamicRoutes": {},
|
|
5
5
|
"preview": {
|
|
6
|
-
"previewModeId": "
|
|
7
|
-
"previewModeSigningKey": "
|
|
8
|
-
"previewModeEncryptionKey": "
|
|
6
|
+
"previewModeId": "cadf86e9f866e5fc41d20b76e75be418",
|
|
7
|
+
"previewModeSigningKey": "9be19016cf3aa79ead3e4f9a59507ca6dd40557581198a23b75fc4e54140964f",
|
|
8
|
+
"previewModeEncryptionKey": "baed4e0050c5ee0dfc369cadce49c62452e1ae8590e18c262ea058c3cb42ac16"
|
|
9
9
|
},
|
|
10
10
|
"notFoundRoutes": []
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": 1,
|
|
3
3
|
"config": {
|
|
4
4
|
"env": {
|
|
5
|
-
"CUSTOMIZE_COMPILED_BUILD_IDENTITY": "{\"version\":1,\"sourceFingerprint\":\"
|
|
5
|
+
"CUSTOMIZE_COMPILED_BUILD_IDENTITY": "{\"version\":1,\"sourceFingerprint\":\"c7f9aefd14f63a15dfe1a3ab4b189ce98e5784658308b514fdf3e998d82aba47\",\"semanticFingerprints\":{\"projectFacts\":\"c4ae56b268ab47b055b3069e3eda613d998a32bbc68af6f560034849524b87f0\",\"documentGeneration\":\"59add84ee111ddad6039d9831c84a1dc3ae16059ac00b7daf3e24dab137ac43b\"},\"gitCommit\":\"afd176a6c2a6755da80cd5e9e16a4ad390c6eb15\",\"serverVersion\":\"4.60.14\",\"sourceFiles\":739,\"capturedAt\":\"2026-10-13T15:08:37.212Z\"}"
|
|
6
6
|
},
|
|
7
7
|
"eslint": {
|
|
8
8
|
"ignoreDuringBuilds": true
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";exports.id=1243,exports.ids=[1243],exports.modules={21312:(a,b,c)=>{c.d(b,{DH:()=>h,aU:()=>i,pY:()=>j,u3:()=>k});var d=c(22496),e=c(67680);function f(a,b){let c=new Set(a);return(0,d.cn)([b]).filter(a=>c.has(a.id)).map(a=>a.id)}let g=d.ts.map(a=>a.id);function h(a){return[...new Set(a)].map(a=>{let b=(0,d.VY)(a);return b?[`▸ ${b.name}(方法参考,步骤不作为正文句式):`,...b.applicability?[` 适用对象与方法条件:${b.applicability}`]:[],...b.exclusions?.length?[` 不适用或需另选的条件:${b.exclusions.join(";")}`]:[],...b.process.map((a,b)=>` ${b+1}. ${a}`)," 写作时说明适用条件、实施动作、控制与转序;不能只把这些步骤串成动作列表。",...b.params.map(a=>` \xb7 工艺参数:${a}`),...b.acceptance.map(a=>` \xb7 检测验收:${a}`),...(b.interfaces??[]).map(a=>` \xb7 专业接口:${a}`),...b.resourceBasis?[` \xb7 资源与工效推演:${b.resourceBasis}`]:[],...b.standards.map(a=>` \xb7 规范候选:${a}(具体版本、适用条文与工程采用另核)`),...b.source?[` \xb7 知识参考出处(非项目证据或采用结论):${b.source}`]:[]].join("\n"):""}).filter(Boolean).join("\n")}function i(a){return[...a.structure.map(a=>`${a.title}:${(a.required??[]).join(";")}`).filter(a=>!a.endsWith(":")),...a.acceptance.flatMap(a=>a.items),...a.forbidden.map(a=>"string"==typeof a?a:`${a.phrase}${a.reason?`(${a.reason})`:""}`),...a.examples?[`表达示例(仅教写法,不构成本项目事实或专家验收):${a.examples.good}`,`需避免的写法及原因:${a.examples.defect}`]:[]].filter(Boolean).join("\n")}function j(a){let b=(0,e.mG)(a.chapterTitle,a.sections,a.projectType,a.skills),c=[],d=new Set,j=new Set;for(let h of b){let b=[...new Set([...f(h.knowledge.flatMap(a=>a.ids),a.blockText),...f(g,a.blockText)])];for(let a of b)d.add(a);let k=i(h);for(let a of k.split("\n").filter(Boolean))j.add(a);let l=(0,e.mJ)(h,a.chapterTitle,a.sections,a.projectType);c.push({skillId:h.id,matchedBy:`章域${l.matchedDomains.join("、")};主题${l.matchedKeywords.join("、")};类型${a.projectType}`,cards:b,forbiddenCount:h.forbidden.length,injectedChars:k.length})}if(!b.length){let b=f(g,a.blockText);for(let a of b)d.add(a);b.length&&c.push({skillId:"(块文本直配)",matchedBy:`主题提及实际工艺:${b.join("、")}`,cards:b,forbiddenCount:0,injectedChars:0})}let k=h([...d]),l=[j.size?`【专业内容提示】
|
|
2
2
|
${[...j].join("\n")}`:"",k].filter(Boolean).join("\n\n");return{text:l?`【领域规则\xb7专业写作参考】以下为专业写作参考,不是本项目的资料事实。按当前任务对象、工况和真实来源选用;不增加小节或规定字数、信息点、参数数量/密度,不机械套用全部提示。禁止编造本项目没有的参数数值;卡片参数与规范候选仍须核版本、条件和采用资格,技能命中或模型自评不证明已通过验收。
|
|
3
|
-
${l}`:"",hits:c}}function k(a){return[...new Set(a.flatMap(a=>a.knowledge.flatMap(a=>a.ids)).filter(a=>!(0,d.VY)(a)))]}},67680:(a,b,c)=>{c.d(b,{$i:()=>m,VO:()=>i,mG:()=>l,mJ:()=>k});var d=c(81892),e=c(32374),f=c(13424);let g=["C01","C02","C02","C03","C04","C05","C06","C07","C08","C09","C10","C11","C12","C14","C15","C16"],h=[{domain:"C13",pattern:/危大工程专项|危险性较大的分部分项工程专项|危大专项/u}];function i(a){if(g.length!==d.h.length)throw Error(`章域映射表与 CHAPTER_FOCUS_RULES 失配:映射 ${g.length} 条 / 规则 ${d.h.length} 条`);let b=[];for(let{domain:c,pattern:e}of function(){let a=[];return d.h.forEach((b,c)=>{let d=g[c];d&&a.push({domain:d,pattern:b.pattern})}),a.push(...h),a}())!b.includes(c)&&e.test(a)&&b.push(c);return b}function j(a){return a.replace(/\s+/gu,"").toLowerCase()}function k(a,b,c,d){let e=i(b),g=e.includes(a.match.chapterDomain),h=(0,f.Yf)(a,d),k=c.map(j).filter(a=>a.length>0),l=k.length>0,m=a.match.sectionKeywords.filter(a=>{let b=j(a);return b.length>0&&k.some(a=>a.includes(b))}),n=l?function(a){let b=a.match.sectionRegex;if(b&&(0,f.s_)(b))try{return RegExp(b,"u")}catch{return}}(a):void 0,o=!!n&&k.some(a=>n.test(a)),p=a.match.sectionKeywords.length>0||void 0!==n,q=!l||!p||m.length>0||o;return{skillId:a.id,domainHit:g,matchedDomains:e,projectTypeHit:h,sectionGateApplied:l,matchedKeywords:m,regexHit:o,matched:g&&h&&q}}function l(a,b,c,d=e.d7){let f=d.filter(a=>a.enabled).map(d=>({skill:d,explanation:k(d,a,b,c)})).filter(a=>a.explanation.matched).map(a=>{var b;return{skill:a.skill,specificity:(b=a.explanation).matchedKeywords.length+ +!!b.regexHit}});return f.sort((a,b)=>b.specificity!==a.specificity?b.specificity-a.specificity:a.skill.id<b.skill.id?-1:+(a.skill.id>b.skill.id)),f.map(a=>a.skill)}function m(a){let b=[...a].sort((a,b)=>a.id<b.id?-1:+(a.id>b.id)),c=[],d={},e=(a,b)=>{let c=d[a]??[];c.includes(b)||c.push(b),d[a]=c},g=[];for(let a of b)for(let b of a.acceptance)for(let c of b.items)g.includes(c)||g.push(c),e(`llmChecklist:${c}`,a.id);let h=g.length?[{kind:"llmChecklist",items:g,nonDeterministic:!0}]:[],i=new Map;for(let a of b)for(let b of a.requires){let a=i.get(b.key);if(!a){i.set(b.key,{...b});continue}i.set(b.key,{...a,required:a.required||b.required})}let j=a=>`${a.kind}:${[...a.ids].sort().join(",")}`,k=new Map;for(let a of b)for(let b of a.knowledge){let a=j(b);k.has(a)||k.set(a,{...b,...b.ids?{ids:[...b.ids]}:{}})}let l=new Map;for(let a of b)for(let b of a.structure){let c=b.title.trim(),d=l.get(c)??[];d.push({skillId:a.id,spec:{...b,title:c}}),l.set(c,d)}let m=new Set,n=a=>a.structure.map(a=>a.title.trim()).filter(a=>!m.has(a)).join("|"),o=new Set(b.map(n).filter(a=>a.length>0));if(o.size>1){let a=[...o].sort();1===new Set(b.map(a=>[...new Set(a.structure.map(a=>a.title.trim()))].filter(a=>!m.has(a)).sort().join("|"))).size&&c.push({field:"structure",kind:"structure-order-mismatch",target:a.join(" ⇄ "),skillIds:b.map(a=>a.id),declarations:b.map(a=>({skillId:a.id,value:n(a)})),message:`技能声明了相同的小节集合但顺序不同:${b.map(a=>`${a.id}=[${n(a)}]`).join(" / ")}——需用户裁决小节顺序`})}let p=[],q=new Set;for(let a of b)for(let b of a.structure){let a=b.title.trim();if(m.has(a)||q.has(a))continue;q.add(a);let c=[...new Set((l.get(a)??[]).flatMap(a=>a.spec.required??[]))];p.push({title:a,...c.length?{required:c}:{}})}let r=new Map;for(let a of b)for(let b of(0,f.is)(a.forbidden)){let c=r.get(b)??[];c.includes(a.id)||c.push(a.id),r.set(b,c)}let s=b.flatMap(a=>{let b=[];for(let c of a.structure)for(let d of(b.push({phrase:c.title.trim(),skillId:a.id}),c.required??[]))b.push({phrase:d.trim(),skillId:a.id});return b}),t=new Set;for(let[a,b]of r){if(0===a.length)continue;let d=[...new Set(s.filter(b=>b.phrase.includes(a)||a.includes(b.phrase)).map(a=>a.skillId))].filter(a=>!b.includes(a));0!==d.length&&(t.add(a),c.push({field:"forbidden",kind:"forbidden-required-contradiction",target:a,skillIds:[...b,...d].sort(),declarations:[...b.map(b=>({skillId:b,value:`禁写「${a}」`})),...d.map(b=>({skillId:b,value:`要求写入含「${a}」的内容`}))],message:`禁写项「${a}」被另一技能明确要求写入——需用户裁决(自动合并会同时下发“必须写”与“禁止写”两条相反指令)`}))}let u=[];for(let a of b)for(let b of a.forbidden){let a=("string"==typeof b?b:b.phrase).trim();!(0===a.length||t.has(a))&&(u.some(b=>("string"==typeof b?b:b.phrase).trim()===a)||u.push("string"==typeof b?a:{...b,phrase:a}))}return{acceptance:h,acceptanceProvenance:d,requires:[...i.values()],knowledge:[...k.values()],structure:p,forbidden:u,conflicts:c,requiresArbitration:c.length>0}}},81892:(a,b,c)=>{c.d(b,{h:()=>d,u:()=>e});let d=[{pattern:/概况|总体|理解|说明|编制/u,goal:"依据真实资料说明范围、专业组成、实施条件和编制依据,区分已知事实与核验事项",mustCover:["工程名称、地点、规模、工期和质量目标等有出处且适用的项目事实","工程范围、专业组成、接口和场地条件;关键未知条件保留核验责任","实际采用的招标补遗、法规、标准及管理文件;名称、编号、版本和资格状态可核,实际引用与依据对应","全部真实专业、单体、系统和特殊构造的施工与交接责任,不强凑专业数量","单项目多属性以信息项—内容纵向或按含义分组;对象比较才横向,完整保留对象、控制数值和单位,不以固定列数或表数删数据"]},{pattern:/主要施工内容/u,goal:"完整承接真实对象、方法和接口,不以工程量罗列代替施工说明",mustCover:["全部实际专业、部位和对象,近名归并不遗漏不同职责","对应对象的工程量口径、准备条件、顺序、方法和专业接口","按对象和工法控制需要说明真实规格或参数、质量安全控制、检验验收及记录交接"]},{pattern:/主要分部分项工程施工方案|主要施工方法/u,goal:"按真实对象和工法说明可执行操作、控制和验收,必要参数随实际控制用途展开",mustCover:["各分项、独立系统和特殊构造的方法职责,不因工程量小或名称近似遗漏","对象部位、前置准备与验收、关键步骤、工作面和相邻专业衔接","工法确需的材料规格、操作或检验条件;数值具有来源、对象、单位和完整前提,未知不补造","工艺质量、安全、成品保护、记录及交接验收,不统一要求参数或环节数量"]},{pattern:/重点|难点/u,goal:"说明真实对象及工况的成因、影响、针对性控制和处置闭环",mustCover:["实际对象、部位、工况、成因和影响范围","对应方法、接口或专项控制及真实适用条件","责任、检查验收节点、异常处置、整改复核和记录","需要数值控制时准确引用参数及依据;管理或接口问题以完整程序表达,不按量化占比评分"]},{pattern:/部署|总体|流水|顺序/u,goal:"按真实范围、工作面和同一施工活动网络组织阶段及资源",mustCover:["真实对象、区段、工作面及交接界面","工序依赖、阶段顺序、穿插和必要等待,不照搬单一类型的整套工序","同一计划的资源、能力约束、动态协调及责任"]},{pattern:/进度|工期/u,goal:"基于工期约束、工程量和统一施工计划说明进度可实施性",mustCover:["总工期与日期口径、活动网络、依赖、必要等待和关键线路","阶段及滚动计划、资源工作面能力、供应和交接","进度监测、偏差原因、纠偏调整及责任,拟定节点与资料事实分开表达"]},{pattern:/质量/u,goal:"按适用质量要求落实材料、过程、验收、整改与资料闭环",mustCover:["有出处的质量目标、适用验收依据、对象和条件","交底、样板或首件、自检互检专检的实际责任及程序","适用复验与见证取样、隐蔽验收、试验及报验,参数和比例仅按真实适用要求","通病或缺陷防治、记录、整改复验及资料闭合","交接、保修与缺陷响应;有依据的期限准确写出,不补造承诺值"]},{pattern:/安全|危大|风险/u,goal:"按真实作业对象和工况落实风险、专项程序、检查整改及应急控制",mustCover:["实际安全目标与责任,不统一补造伤亡率、轻伤频率或达标率","对象、部位、作业形态和风险辨识,关键工况缺失保留核验责任","危大候选和分级以同对象完整参数及适用规则为依据,未决不等于不触发或已需专家论证","按已成立的条件落实方案编审、必要论证、交底、实施、监测和验收责任","人员设备、临电、消防及防护按实际形式组织,必要参数和检验周期具有真实适用依据","安全检查、隐患处置、复查记录和应急响应"]},{pattern:/资源|材料|设备|劳动力|人材机/u,goal:"使人机料、仪器和设施同实际活动、工程量、能力及阶段对应",mustCover:["设备适用作业、选型依据、能力约束、投入及进退场","工种、班组、工作面、阶段安排及交接","材料技术要求、采购批次、验收保管及供应","同一施工计划的资源口径和推导依据,区分拟定配置与现场已投入事实","表格按对象比较与阶段关系组织,完整对象、控制数值和单位可读;单对象多属性不堆成无比较目的的十几列单行,真实宽表保留全部字段"]},{pattern:/文明|绿色|环保|扬尘|噪声/u,goal:"按真实现场、作业影响及适用属地要求组织环境保护和文明施工",mustCover:["适用围挡、覆盖、清洗、场地和运输扬尘措施,不自动套固定百分比承诺","实际噪声振动、时段、污水、固废及交通秩序控制","监测检查、预警、处置复查、责任及记录,限值和频次仅按真实依据","适用节水节材节地节能和环保措施,不强凑每类数字或声称已完成评价"]},{pattern:/应急|预案/u,goal:"按真实风险源落实预警、响应、救援和恢复职责",mustCover:["实际风险、预警触发条件、组织及职责","与风险和救援条件相符的物资设备、通信协同","适用处置、疏散、报告救援、后期恢复、培训演练和记录,不套固定事故名单或数量"]},{pattern:/竣工|验收|移交|保修/u,goal:"按真实交付范围组织清理、验收、整改、移交和缺陷响应",mustCover:["实际收尾清理、废弃物处置和设施恢复","验收、缺陷记录、责任、整改复验和交接条件","实物资料移交、签认、保修响应及有依据的期限"]},{pattern:/工资|劳务|实名/u,goal:"按真实用工、合同和适用规定落实实名、工资、保险及争议处置",mustCover:["实名登记、合同考勤的适用对象、责任及资料管理","适用工资支付、专户代发、保证措施和台账,不把制度要求写成已开户或已支付","适用保险、参保、事故申报及劳动争议处理责任"]},{pattern:/交通导改|交通导行|交通组织|导改|管线保护|占道/u,goal:"对真实交通及管线接口说明调查、阶段保障与保护责任,不按工程类型排除",mustCover:["真实或需核验的交通、出入口及管线条件与调查责任","需要的阶段导改、通行能力、围挡隔离及恢复条件","实际通行保障、管线探明保护、权属协同和应急","适用标志标线、警示照明、监护交接,不把拟调查写成已调查"]},{pattern:/居民|扰民|既有(?:设施|管线|建筑|构筑物)保护|沟通协调|公众参与/u,goal:"按真实受影响对象组织沟通、通行、扰动控制与保护,不假定所有改造都有在场居民",mustCover:["实际影响对象、诉求和调查沟通责任,不补造户数或已走访事实","实际噪声扬尘振动和作业时间影响及控制","分区通行、出入口保障及既有设施保护接口","公示协调、投诉响应、责任记录和恢复移交"]},{pattern:/成品保护|半成品保护|交叉施工|交叉作业/u,goal:"按真实成品、系统和作业接口组织保护、交接与责任转移",mustCover:["真实保护对象、风险、责任和形式,不强行套齐房建饰面部位","工序作业面交接条件、检查记录、责任转移和专业协调","损坏记录、责任认定、修复复验、清洁和最终移交"]}];function e(a){return d.find(b=>b.pattern.test(a))}},87942:(a,b,c)=>{c.d(b,{x:()=>d});let d={version:"professional-document-workflow-v122",rules:["registered-field-content-nature-is-shared-by-classification-and-attribute-extraction-without-model-reclassification","retired-unwired-fact-placement-tools-and-old-chapter-task-planner-without-compatibility-adapters","explicit-source-collection-content-kind-with-complete-membership-duty-and-without-scalar-value-admission","shared-project-attribute-preparation-separated-from-complete-source-collection-and-author-content-duties","current-source-bound-literal-extraction-batches-with-independent-validation-persistence-and-shared-provider-concurrency","shared-author-system-and-canonical-plan-prefix-with-task-specific-delegation-at-tail","same-selected-model-composition-separated-from-chief-engineering-reasoning-with-user-thinking-preference-preserved","explicit-full-document-normative-collection-dependency-with-local-basis-tasks-parallel","complete-spatial-region-label-legends-and-task-local-preview-failure-isolation","single-reference-discovery-owner-and-author-task-local-chief-question-indices","shared-provider-capacity-and-evidence-progress-without-cad-text-discard","semantic-project-facts-without-global-raw-numeric-token-expansion","namespaced-original-member-references-with-server-recorded-batch-responses","current-source-model-and-protocol-bound-completed-discovery-response-reuse","independent-persisted-parsed-documents-and-knowledge-internal-source-unit-identities","uploaded-original-disappearance-never-deletes-indexed-knowledge","text-conservation-preview-and-structural-query-without-original-file-dependency","vector-row-file-chunk-and-parsed-version-validation-before-sqlite-hydration","provider-default-output-and-selected-model-role-based-thinking-without-total-generation-ceilings","task-local-facts-and-source-use-dependencies-with-condition-aware-query-diagnostics","source-file-ownership-routing-without-per-section-model-repetition","strict-duplicate-json-key-rejection-before-body-or-tool-admission","per-transport-cancellation-request-and-actual-settlement-with-unknown-usage-preserved","preserved-original-failures-and-pause-at-reported-output-truncation-without-whole-input-retries","whole-run-token-anomaly-pause-and-same-project-queue-suspension-without-cost-or-time-ceilings","current-professional-grade-required-for-delivery-with-verification-quality-gaps-separated","first-candidate-professional-pass-metrics-without-retention-percentage-delivery-veto","removed-unused-client-reservations-and-inactive-node-payload-writing-pruning","full-per-call-usage-ledger-with-unreported-cancelled-usage","lossless-repeated-evidence-projection-with-intact-thinking-tool-protocol","quantity-purpose-and-partial-boundary-aware-construction-network","professional-execution-defects-in-first-candidate-with-preserved-original","spatial-layout-schematics-without-invented-survey-dimensions","partial-draft-figure-rendering-and-explicit-portable-review-fonts","task-located-excerpt-reading-without-speculative-whole-file-scans","complete-work-package-directory-and-explicit-member-selection-without-default-paging","project-resource-authors-inherit-planned-crews-without-false-derived-peaks","professional-first-draft-and-seven-anchored-diagnostics-without-aggregate-pass-score","complete-object-directory-and-on-demand-full-source-without-preflight-candidate-census","current-v7-submission-only-and-actual-rendered-figure-evidence-without-body-node-dumps","whole-source-purpose-and-completed-claim-state-validation","single-activity-network-and-typed-source-quantity-production-plan","server-owned-author-unit-row-and-section-reference-identities","retained-body-annotation-correction-with-cumulative-meaningful-raw-writing-ledger","actual-task-executions-preserved-through-final-render-and-honest-terminal-nodes","all-actual-normative-use-catalog-with-independent-official-metadata-and-adoption-status","source-bound-hazard-candidates-without-unknown-to-nonhazard-conclusions","faithful-technical-rendering-and-actual-bookmark-page-toc-cache","no-bid-type-page-quotas-or-client-wall-clock-generation-cutoffs","chapter-fair-dynamic-author-dispatch-through-single-shared-model-capacity","single-chief-whole-outline-and-table-plan-with-complete-raw-protocol-receipts","current-candidate-identity-bound-plan-reuse-without-repeated-chapter-routing","user-outline-preservation-without-tail-character-title-rejection-or-post-plan-mutations","actual-body-normative-use-register-before-first-compilation-basis-writing","source-bound-exact-normative-name-code-and-use-position-review","single-optional-explicit-process-concurrency-without-default-four-or-six","complete-typed-tool-output-without-generic-tail-clipping","task-owned-complete-evidence-without-repeated-whole-chapter-source-matrices","authenticated-deep-frozen-source-policy-with-independent-current-use-validation","server-owned-source-evidence-indices-without-model-quote-or-hash-copy","actual-task-progress-and-substantive-body-without-title-shell-completion","explicit-input-resource-limits-without-hidden-env-or-default-document-cutoffs","active-task-engineering-decisions-with-reviewed-qualitative-adoption","professional-process-coverage-without-character-density-point-collapse","complete-source-library-and-positive-technical-obligation-discovery-without-commercial-role-closure","typed-task-local-writing-readiness-and-preserved-unresolved-source-ledger","single-common-construction-organization-plan-with-on-demand-engineering-decisions","source-first-omission-audit-after-preserved-real-first-draft","review-draft-export-separated-from-delivery-acceptance-with-bound-issue-sidecar","actual-claim-fidelity-review-separated-from-engineering-adoption-permission","balanced-same-family-source-bracket-intervals-without-unclosed-tail-suppression-or-source-rewriting","complete-physical-source-question-continuations-before-answer-purpose-review","source-context-semantic-projection-with-complete-server-owned-provenance-and-frozen-application-qualification","complete-clarification-source-groups-with-unique-original-member-accounting-and-independent-projection-binding","source-explicit-length-units-without-bare-number-or-neighbor-line-default-meters","complete-local-knowledge-assumption","knowledge-coverage-recovery","fact-trace-placement","chapter-coverage-gate","structured-quality-report","post-repair-verification","immutable-run-inputs","user-cancellation-and-typed-progress-execution-receipts","pre-writing-frozen-project-model","frozen-prompt-skill-and-model-configuration","object-and-attribute-bound-fact-governance","pre-writing-document-contract","complete-json-results-without-tail-clipping","single-explicit-selected-model-for-all-agent-and-review-calls","selected-model-without-vendor-allowlist-and-glm53-valid-thinking-tool-history","scoped-preparation-cancellation-and-drain-before-terminal-with-source-before-model-planning","source-complete-chief-model-projection-with-authoritative-native-proof-ledger","native-json-with-explicit-shared-total-output-capacity","technical-structure-requirements-grounded-in-local-presentation-purpose","object-property-condition-and-adoption-constraints-without-onsite-verb-or-edition-shortcuts","signal-driven-generation-with-stream-progress-and-effective-source-worker-capacity","exact-decimal-value-equivalence-with-source-object-unit-and-application-conservation","strict-explicit-source-indices-without-positional-recovery-or-retired-anchor-acceptance","mutable-live-activity-snapshots-separated-from-immutable-run-evidence","physical-property-corrections-separated-from-price-and-document-description-procedures","source-row-and-header-bound-table-quantity-witnesses-without-unit-inference","engineering-interfaces-separated-from-supplier-service-entitlements-and-charge-conditions","minimal-source-bound-static-constraints-without-synthetic-performance-duties","schema-correction-bound-to-actual-prior-output-and-preserved-source-semantics","native-contract-evaluation-with-retired-density-and-legacy-score-entrypoints","explicit-shared-total-output-capacity-with-frozen-selected-thinking-policy","source-owned-edition-sections-without-whole-document-catalog-qualification","single-chief-outline-duty-coverage-without-score-keyword-module-injection","real-provider-calls-without-hidden-prefix-warmup-requests","ordered-whole-dimension-and-celsius-identity-without-invented-unit-or-currency","reusable-provider-owned-http2-pool-with-concurrent-streamed-posts-and-signal-driven-cancellation","source-bound-planned-start-date-and-trigger-preserved-through-schedule-authority","contract-bound-seven-dimension-review","structured-author-tasks-and-cumulative-rework","canonical-document-model-and-guarded-incremental-repair","fixed-outline-and-unique-task-responsibility","same-selected-model-retry-without-provider-or-model-fallback","actual-task-instances-and-shared-chapter-budget","generation-scoped-llm-context","source-grounded-project-type-and-required-content-semantics","source-analysis-without-formal-writing-quotas","parent-grounded-financial-performance-separated-from-engineering-compensation","canonical-verified-whitespace-gaps-and-failed-request-ledger-preservation","source-text-once-and-payload-bounded-original-parent-batches","complete-outline-candidates-without-density-derived-section-count-or-blind-title-deletion","project-specific-substance-without-history-driven-novelty-or-correct-content-rewriting","native-cad-literal-location-and-root-bound-annotation-reading","chief-read-scope-pagination-without-premature-human-source-deferral","versioned-native-pdf-ruled-cell-reading-with-original-glyph-conservation","painted-horizontal-cell-spans-with-physical-row-edge-conservation","explicit-native-ordinary-page-continuation-without-grid-or-canonical-inference","fact-extraction-output-capacity-bound-to-complete-source-payload","persistent-source-and-parameter-bound-ocr-cache-default","native-table-row-boundaries-and-source-preserved-physical-page-continuation","file-level-proof-once-and-scalar-source-evidence-without-child-metadata-duplication","producer-bound-metadata-excluded-with-complete-original-ledger","immutable-source-and-provenance-bound-effective-facts","chief-frozen-original-source-queries","preserved-author-annotations-without-inferred-criterion-binding","scoped-chief-engineering-controls-with-independent-applicability-review","dxf-declared-codepage-and-observable-source-judgments","unchecked-blind-means-open-and-content-only-front-matter","canonical-native-toc-without-cover-or-invented-page-numbers","question-answer-boundaries-and-independent-review-with-frozen-model","dimension-picture-blocks-and-honest-polyline-transforms","evidence-progress-driven-chief-source-and-cad-reading","native-writing-without-legacy-drawing-lock-preparation","native-writing-without-legacy-density-or-duplicate-bill-preparation","chief-reasoning-tools-with-provider-session-roundtrip","source-binding-defect-scopes-without-unrelated-writing-penalties","pre-writing-shared-construction-deployment-and-task-interfaces","no-unscoped-elevation-subtraction-in-frozen-facts","single-native-generation-and-finalization-pipeline","request-local-llm-failure-attribution","lazy-cad-instances-with-complete-source-definitions","atomic-per-file-reindex-with-preserved-valid-snapshots","explicit-user-section-protection-with-adjudicable-skill-candidates","whole-selected-material-pack-index-and-source-byte-admission","native-contract-required-for-archived-repair","source-content-page-read-closure-without-native-garbled-or-raster-shortcuts","independently-reviewed-project-source-application-and-selection-bridges","immutable-chief-source-application-receipts-and-resume-replay","native-skill-knowledge-without-retired-density-depth-or-example-contracts","preserved-technical-ocr-content-without-prose-density-page-discard","native-raster-resolution-with-verified-composite-fallback","no-whole-library-project-intelligence-preheat-or-shadow-model","preserved-original-material-without-destructive-business-text-cleaning","explicit-user-sections-and-adjudicable-skill-candidate-preview","preserved-cad-stacked-engineering-units-and-fractions","file-level-source-coverage-without-per-chunk-audit-duplication","signature-driven-cad-source-routing-for-mislabeled-files","actual-carrier-source-routing-without-binary-fragment-success","frozen-source-edition-domains-without-filename-or-model-confirmation-shortcuts","selected-source-fingerprint-worker-with-epoch-bound-complete-cache-admission","source-document-headings-without-incidental-clarification-reference-reclassification","scalar-knowledge-discovery-with-selected-parser-version-receipts","planned-arrangements-without-invented-project-geometry-or-design-properties"]}}};
|
|
3
|
+
${l}`:"",hits:c}}function k(a){return[...new Set(a.flatMap(a=>a.knowledge.flatMap(a=>a.ids)).filter(a=>!(0,d.VY)(a)))]}},67680:(a,b,c)=>{c.d(b,{$i:()=>m,VO:()=>i,mG:()=>l,mJ:()=>k});var d=c(81892),e=c(32374),f=c(13424);let g=["C01","C02","C02","C03","C04","C05","C06","C07","C08","C09","C10","C11","C12","C14","C15","C16"],h=[{domain:"C13",pattern:/危大工程专项|危险性较大的分部分项工程专项|危大专项/u}];function i(a){if(g.length!==d.h.length)throw Error(`章域映射表与 CHAPTER_FOCUS_RULES 失配:映射 ${g.length} 条 / 规则 ${d.h.length} 条`);let b=[];for(let{domain:c,pattern:e}of function(){let a=[];return d.h.forEach((b,c)=>{let d=g[c];d&&a.push({domain:d,pattern:b.pattern})}),a.push(...h),a}())!b.includes(c)&&e.test(a)&&b.push(c);return b}function j(a){return a.replace(/\s+/gu,"").toLowerCase()}function k(a,b,c,d){let e=i(b),g=e.includes(a.match.chapterDomain),h=(0,f.Yf)(a,d),k=c.map(j).filter(a=>a.length>0),l=k.length>0,m=a.match.sectionKeywords.filter(a=>{let b=j(a);return b.length>0&&k.some(a=>a.includes(b))}),n=l?function(a){let b=a.match.sectionRegex;if(b&&(0,f.s_)(b))try{return RegExp(b,"u")}catch{return}}(a):void 0,o=!!n&&k.some(a=>n.test(a)),p=a.match.sectionKeywords.length>0||void 0!==n,q=!l||!p||m.length>0||o;return{skillId:a.id,domainHit:g,matchedDomains:e,projectTypeHit:h,sectionGateApplied:l,matchedKeywords:m,regexHit:o,matched:g&&h&&q}}function l(a,b,c,d=e.d7){let f=d.filter(a=>a.enabled).map(d=>({skill:d,explanation:k(d,a,b,c)})).filter(a=>a.explanation.matched).map(a=>{var b;return{skill:a.skill,specificity:(b=a.explanation).matchedKeywords.length+ +!!b.regexHit}});return f.sort((a,b)=>b.specificity!==a.specificity?b.specificity-a.specificity:a.skill.id<b.skill.id?-1:+(a.skill.id>b.skill.id)),f.map(a=>a.skill)}function m(a){let b=[...a].sort((a,b)=>a.id<b.id?-1:+(a.id>b.id)),c=[],d={},e=(a,b)=>{let c=d[a]??[];c.includes(b)||c.push(b),d[a]=c},g=[];for(let a of b)for(let b of a.acceptance)for(let c of b.items)g.includes(c)||g.push(c),e(`llmChecklist:${c}`,a.id);let h=g.length?[{kind:"llmChecklist",items:g,nonDeterministic:!0}]:[],i=new Map;for(let a of b)for(let b of a.requires){let a=i.get(b.key);if(!a){i.set(b.key,{...b});continue}i.set(b.key,{...a,required:a.required||b.required})}let j=a=>`${a.kind}:${[...a.ids].sort().join(",")}`,k=new Map;for(let a of b)for(let b of a.knowledge){let a=j(b);k.has(a)||k.set(a,{...b,...b.ids?{ids:[...b.ids]}:{}})}let l=new Map;for(let a of b)for(let b of a.structure){let c=b.title.trim(),d=l.get(c)??[];d.push({skillId:a.id,spec:{...b,title:c}}),l.set(c,d)}let m=new Set,n=a=>a.structure.map(a=>a.title.trim()).filter(a=>!m.has(a)).join("|"),o=new Set(b.map(n).filter(a=>a.length>0));if(o.size>1){let a=[...o].sort();1===new Set(b.map(a=>[...new Set(a.structure.map(a=>a.title.trim()))].filter(a=>!m.has(a)).sort().join("|"))).size&&c.push({field:"structure",kind:"structure-order-mismatch",target:a.join(" ⇄ "),skillIds:b.map(a=>a.id),declarations:b.map(a=>({skillId:a.id,value:n(a)})),message:`技能声明了相同的小节集合但顺序不同:${b.map(a=>`${a.id}=[${n(a)}]`).join(" / ")}——需用户裁决小节顺序`})}let p=[],q=new Set;for(let a of b)for(let b of a.structure){let a=b.title.trim();if(m.has(a)||q.has(a))continue;q.add(a);let c=[...new Set((l.get(a)??[]).flatMap(a=>a.spec.required??[]))];p.push({title:a,...c.length?{required:c}:{}})}let r=new Map;for(let a of b)for(let b of(0,f.is)(a.forbidden)){let c=r.get(b)??[];c.includes(a.id)||c.push(a.id),r.set(b,c)}let s=b.flatMap(a=>{let b=[];for(let c of a.structure)for(let d of(b.push({phrase:c.title.trim(),skillId:a.id}),c.required??[]))b.push({phrase:d.trim(),skillId:a.id});return b}),t=new Set;for(let[a,b]of r){if(0===a.length)continue;let d=[...new Set(s.filter(b=>b.phrase.includes(a)||a.includes(b.phrase)).map(a=>a.skillId))].filter(a=>!b.includes(a));0!==d.length&&(t.add(a),c.push({field:"forbidden",kind:"forbidden-required-contradiction",target:a,skillIds:[...b,...d].sort(),declarations:[...b.map(b=>({skillId:b,value:`禁写「${a}」`})),...d.map(b=>({skillId:b,value:`要求写入含「${a}」的内容`}))],message:`禁写项「${a}」被另一技能明确要求写入——需用户裁决(自动合并会同时下发“必须写”与“禁止写”两条相反指令)`}))}let u=[];for(let a of b)for(let b of a.forbidden){let a=("string"==typeof b?b:b.phrase).trim();!(0===a.length||t.has(a))&&(u.some(b=>("string"==typeof b?b:b.phrase).trim()===a)||u.push("string"==typeof b?a:{...b,phrase:a}))}return{acceptance:h,acceptanceProvenance:d,requires:[...i.values()],knowledge:[...k.values()],structure:p,forbidden:u,conflicts:c,requiresArbitration:c.length>0}}},81892:(a,b,c)=>{c.d(b,{h:()=>d,u:()=>e});let d=[{pattern:/概况|总体|理解|说明|编制/u,goal:"依据真实资料说明范围、专业组成、实施条件和编制依据,区分已知事实与核验事项",mustCover:["工程名称、地点、规模、工期和质量目标等有出处且适用的项目事实","工程范围、专业组成、接口和场地条件;关键未知条件保留核验责任","实际采用的招标补遗、法规、标准及管理文件;名称、编号、版本和资格状态可核,实际引用与依据对应","全部真实专业、单体、系统和特殊构造的施工与交接责任,不强凑专业数量","单项目多属性以信息项—内容纵向或按含义分组;对象比较才横向,完整保留对象、控制数值和单位,不以固定列数或表数删数据"]},{pattern:/主要施工内容/u,goal:"完整承接真实对象、方法和接口,不以工程量罗列代替施工说明",mustCover:["全部实际专业、部位和对象,近名归并不遗漏不同职责","对应对象的工程量口径、准备条件、顺序、方法和专业接口","按对象和工法控制需要说明真实规格或参数、质量安全控制、检验验收及记录交接"]},{pattern:/主要分部分项工程施工方案|主要施工方法/u,goal:"按真实对象和工法说明可执行操作、控制和验收,必要参数随实际控制用途展开",mustCover:["各分项、独立系统和特殊构造的方法职责,不因工程量小或名称近似遗漏","对象部位、前置准备与验收、关键步骤、工作面和相邻专业衔接","工法确需的材料规格、操作或检验条件;数值具有来源、对象、单位和完整前提,未知不补造","工艺质量、安全、成品保护、记录及交接验收,不统一要求参数或环节数量"]},{pattern:/重点|难点/u,goal:"说明真实对象及工况的成因、影响、针对性控制和处置闭环",mustCover:["实际对象、部位、工况、成因和影响范围","对应方法、接口或专项控制及真实适用条件","责任、检查验收节点、异常处置、整改复核和记录","需要数值控制时准确引用参数及依据;管理或接口问题以完整程序表达,不按量化占比评分"]},{pattern:/部署|总体|流水|顺序/u,goal:"按真实范围、工作面和同一施工活动网络组织阶段及资源",mustCover:["真实对象、区段、工作面及交接界面","工序依赖、阶段顺序、穿插和必要等待,不照搬单一类型的整套工序","同一计划的资源、能力约束、动态协调及责任"]},{pattern:/进度|工期/u,goal:"基于工期约束、工程量和统一施工计划说明进度可实施性",mustCover:["总工期与日期口径、活动网络、依赖、必要等待和关键线路","阶段及滚动计划、资源工作面能力、供应和交接","进度监测、偏差原因、纠偏调整及责任,拟定节点与资料事实分开表达"]},{pattern:/质量/u,goal:"按适用质量要求落实材料、过程、验收、整改与资料闭环",mustCover:["有出处的质量目标、适用验收依据、对象和条件","交底、样板或首件、自检互检专检的实际责任及程序","适用复验与见证取样、隐蔽验收、试验及报验,参数和比例仅按真实适用要求","通病或缺陷防治、记录、整改复验及资料闭合","交接、保修与缺陷响应;有依据的期限准确写出,不补造承诺值"]},{pattern:/安全|危大|风险/u,goal:"按真实作业对象和工况落实风险、专项程序、检查整改及应急控制",mustCover:["实际安全目标与责任,不统一补造伤亡率、轻伤频率或达标率","对象、部位、作业形态和风险辨识,关键工况缺失保留核验责任","危大候选和分级以同对象完整参数及适用规则为依据,未决不等于不触发或已需专家论证","按已成立的条件落实方案编审、必要论证、交底、实施、监测和验收责任","人员设备、临电、消防及防护按实际形式组织,必要参数和检验周期具有真实适用依据","安全检查、隐患处置、复查记录和应急响应"]},{pattern:/资源|材料|设备|劳动力|人材机/u,goal:"使人机料、仪器和设施同实际活动、工程量、能力及阶段对应",mustCover:["设备适用作业、选型依据、能力约束、投入及进退场","工种、班组、工作面、阶段安排及交接","材料技术要求、采购批次、验收保管及供应","同一施工计划的资源口径和推导依据,区分拟定配置与现场已投入事实","表格按对象比较与阶段关系组织,完整对象、控制数值和单位可读;单对象多属性不堆成无比较目的的十几列单行,真实宽表保留全部字段"]},{pattern:/文明|绿色|环保|扬尘|噪声/u,goal:"按真实现场、作业影响及适用属地要求组织环境保护和文明施工",mustCover:["适用围挡、覆盖、清洗、场地和运输扬尘措施,不自动套固定百分比承诺","实际噪声振动、时段、污水、固废及交通秩序控制","监测检查、预警、处置复查、责任及记录,限值和频次仅按真实依据","适用节水节材节地节能和环保措施,不强凑每类数字或声称已完成评价"]},{pattern:/应急|预案/u,goal:"按真实风险源落实预警、响应、救援和恢复职责",mustCover:["实际风险、预警触发条件、组织及职责","与风险和救援条件相符的物资设备、通信协同","适用处置、疏散、报告救援、后期恢复、培训演练和记录,不套固定事故名单或数量"]},{pattern:/竣工|验收|移交|保修/u,goal:"按真实交付范围组织清理、验收、整改、移交和缺陷响应",mustCover:["实际收尾清理、废弃物处置和设施恢复","验收、缺陷记录、责任、整改复验和交接条件","实物资料移交、签认、保修响应及有依据的期限"]},{pattern:/工资|劳务|实名/u,goal:"按真实用工、合同和适用规定落实实名、工资、保险及争议处置",mustCover:["实名登记、合同考勤的适用对象、责任及资料管理","适用工资支付、专户代发、保证措施和台账,不把制度要求写成已开户或已支付","适用保险、参保、事故申报及劳动争议处理责任"]},{pattern:/交通导改|交通导行|交通组织|导改|管线保护|占道/u,goal:"对真实交通及管线接口说明调查、阶段保障与保护责任,不按工程类型排除",mustCover:["真实或需核验的交通、出入口及管线条件与调查责任","需要的阶段导改、通行能力、围挡隔离及恢复条件","实际通行保障、管线探明保护、权属协同和应急","适用标志标线、警示照明、监护交接,不把拟调查写成已调查"]},{pattern:/居民|扰民|既有(?:设施|管线|建筑|构筑物)保护|沟通协调|公众参与/u,goal:"按真实受影响对象组织沟通、通行、扰动控制与保护,不假定所有改造都有在场居民",mustCover:["实际影响对象、诉求和调查沟通责任,不补造户数或已走访事实","实际噪声扬尘振动和作业时间影响及控制","分区通行、出入口保障及既有设施保护接口","公示协调、投诉响应、责任记录和恢复移交"]},{pattern:/成品保护|半成品保护|交叉施工|交叉作业/u,goal:"按真实成品、系统和作业接口组织保护、交接与责任转移",mustCover:["真实保护对象、风险、责任和形式,不强行套齐房建饰面部位","工序作业面交接条件、检查记录、责任转移和专业协调","损坏记录、责任认定、修复复验、清洁和最终移交"]}];function e(a){return d.find(b=>b.pattern.test(a))}},87942:(a,b,c)=>{c.d(b,{x:()=>d});let d={version:"professional-document-workflow-v124",rules:["registered-field-content-nature-is-shared-by-classification-and-attribute-extraction-without-model-reclassification","retired-unwired-fact-placement-tools-and-old-chapter-task-planner-without-compatibility-adapters","explicit-source-collection-content-kind-with-complete-membership-duty-and-without-scalar-value-admission","shared-project-attribute-preparation-separated-from-complete-source-collection-and-author-content-duties","current-source-bound-literal-extraction-batches-with-independent-validation-persistence-and-shared-provider-concurrency","shared-author-system-and-canonical-plan-prefix-with-task-specific-delegation-at-tail","same-selected-model-composition-separated-from-chief-engineering-reasoning-with-user-thinking-preference-preserved","explicit-full-document-normative-collection-dependency-with-local-basis-tasks-parallel","complete-spatial-region-label-legends-and-task-local-preview-failure-isolation","single-reference-discovery-owner-and-author-task-local-chief-question-indices","shared-provider-capacity-and-evidence-progress-without-cad-text-discard","semantic-project-facts-without-global-raw-numeric-token-expansion","namespaced-original-member-references-with-server-recorded-batch-responses","current-source-model-and-protocol-bound-completed-discovery-response-reuse","independent-persisted-parsed-documents-and-knowledge-internal-source-unit-identities","uploaded-original-disappearance-never-deletes-indexed-knowledge","text-conservation-preview-and-structural-query-without-original-file-dependency","vector-row-file-chunk-and-parsed-version-validation-before-sqlite-hydration","provider-default-output-and-selected-model-role-based-thinking-without-total-generation-ceilings","task-local-facts-and-source-use-dependencies-with-condition-aware-query-diagnostics","source-file-ownership-routing-without-per-section-model-repetition","strict-duplicate-json-key-rejection-before-body-or-tool-admission","per-transport-cancellation-request-and-actual-settlement-with-unknown-usage-preserved","preserved-original-failures-and-pause-at-reported-output-truncation-without-whole-input-retries","whole-run-token-anomaly-pause-and-same-project-queue-suspension-without-cost-or-time-ceilings","current-professional-grade-required-for-delivery-with-verification-quality-gaps-separated","first-candidate-professional-pass-metrics-without-retention-percentage-delivery-veto","removed-unused-client-reservations-and-inactive-node-payload-writing-pruning","full-per-call-usage-ledger-with-unreported-cancelled-usage","lossless-repeated-evidence-projection-with-intact-thinking-tool-protocol","quantity-purpose-and-partial-boundary-aware-construction-network","professional-execution-defects-in-first-candidate-with-preserved-original","spatial-layout-schematics-without-invented-survey-dimensions","partial-draft-figure-rendering-and-explicit-portable-review-fonts","task-located-excerpt-reading-without-speculative-whole-file-scans","complete-work-package-directory-and-explicit-member-selection-without-default-paging","project-resource-authors-inherit-planned-crews-without-false-derived-peaks","professional-first-draft-and-seven-anchored-diagnostics-without-aggregate-pass-score","complete-object-directory-and-on-demand-full-source-without-preflight-candidate-census","current-v7-submission-only-and-actual-rendered-figure-evidence-without-body-node-dumps","whole-source-purpose-and-completed-claim-state-validation","single-activity-network-and-typed-source-quantity-production-plan","server-owned-author-unit-row-and-section-reference-identities","retained-body-annotation-correction-with-cumulative-meaningful-raw-writing-ledger","actual-task-executions-preserved-through-final-render-and-honest-terminal-nodes","all-actual-normative-use-catalog-with-independent-official-metadata-and-adoption-status","source-bound-hazard-candidates-without-unknown-to-nonhazard-conclusions","faithful-technical-rendering-and-actual-bookmark-page-toc-cache","no-bid-type-page-quotas-or-client-wall-clock-generation-cutoffs","chapter-fair-dynamic-author-dispatch-through-single-shared-model-capacity","single-chief-whole-outline-and-table-plan-with-complete-raw-protocol-receipts","current-candidate-identity-bound-plan-reuse-without-repeated-chapter-routing","user-outline-preservation-without-tail-character-title-rejection-or-post-plan-mutations","actual-body-normative-use-register-before-first-compilation-basis-writing","source-bound-exact-normative-name-code-and-use-position-review","single-optional-explicit-process-concurrency-without-default-four-or-six","complete-typed-tool-output-without-generic-tail-clipping","task-owned-complete-evidence-without-repeated-whole-chapter-source-matrices","authenticated-deep-frozen-source-policy-with-independent-current-use-validation","server-owned-source-evidence-indices-without-model-quote-or-hash-copy","actual-task-progress-and-substantive-body-without-title-shell-completion","explicit-input-resource-limits-without-hidden-env-or-default-document-cutoffs","active-task-engineering-decisions-with-reviewed-qualitative-adoption","professional-process-coverage-without-character-density-point-collapse","complete-source-library-and-positive-technical-obligation-discovery-without-commercial-role-closure","typed-task-local-writing-readiness-and-preserved-unresolved-source-ledger","single-common-construction-organization-plan-with-on-demand-engineering-decisions","source-first-omission-audit-after-preserved-real-first-draft","review-draft-export-separated-from-delivery-acceptance-with-bound-issue-sidecar","actual-claim-fidelity-review-separated-from-engineering-adoption-permission","balanced-same-family-source-bracket-intervals-without-unclosed-tail-suppression-or-source-rewriting","complete-physical-source-question-continuations-before-answer-purpose-review","source-context-semantic-projection-with-complete-server-owned-provenance-and-frozen-application-qualification","complete-clarification-source-groups-with-unique-original-member-accounting-and-independent-projection-binding","source-explicit-length-units-without-bare-number-or-neighbor-line-default-meters","complete-local-knowledge-assumption","knowledge-coverage-recovery","fact-trace-placement","chapter-coverage-gate","structured-quality-report","post-repair-verification","immutable-run-inputs","user-cancellation-and-typed-progress-execution-receipts","pre-writing-frozen-project-model","frozen-prompt-skill-and-model-configuration","object-and-attribute-bound-fact-governance","pre-writing-document-contract","complete-json-results-without-tail-clipping","single-explicit-selected-model-for-all-agent-and-review-calls","selected-model-without-vendor-allowlist-and-glm53-valid-thinking-tool-history","scoped-preparation-cancellation-and-drain-before-terminal-with-source-before-model-planning","source-complete-chief-model-projection-with-authoritative-native-proof-ledger","native-json-with-explicit-shared-total-output-capacity","technical-structure-requirements-grounded-in-local-presentation-purpose","object-property-condition-and-adoption-constraints-without-onsite-verb-or-edition-shortcuts","signal-driven-generation-with-stream-progress-and-effective-source-worker-capacity","exact-decimal-value-equivalence-with-source-object-unit-and-application-conservation","strict-explicit-source-indices-without-positional-recovery-or-retired-anchor-acceptance","mutable-live-activity-snapshots-separated-from-immutable-run-evidence","physical-property-corrections-separated-from-price-and-document-description-procedures","source-row-and-header-bound-table-quantity-witnesses-without-unit-inference","engineering-interfaces-separated-from-supplier-service-entitlements-and-charge-conditions","minimal-source-bound-static-constraints-without-synthetic-performance-duties","schema-correction-bound-to-actual-prior-output-and-preserved-source-semantics","native-contract-evaluation-with-retired-density-and-legacy-score-entrypoints","explicit-shared-total-output-capacity-with-frozen-selected-thinking-policy","source-owned-edition-sections-without-whole-document-catalog-qualification","single-chief-outline-duty-coverage-without-score-keyword-module-injection","real-provider-calls-without-hidden-prefix-warmup-requests","ordered-whole-dimension-and-celsius-identity-without-invented-unit-or-currency","reusable-provider-owned-http2-pool-with-concurrent-streamed-posts-and-signal-driven-cancellation","source-bound-planned-start-date-and-trigger-preserved-through-schedule-authority","contract-bound-seven-dimension-review","structured-author-tasks-and-cumulative-rework","canonical-document-model-and-guarded-incremental-repair","fixed-outline-and-unique-task-responsibility","same-selected-model-retry-without-provider-or-model-fallback","actual-task-instances-and-shared-chapter-budget","generation-scoped-llm-context","source-grounded-project-type-and-required-content-semantics","source-analysis-without-formal-writing-quotas","parent-grounded-financial-performance-separated-from-engineering-compensation","canonical-verified-whitespace-gaps-and-failed-request-ledger-preservation","source-text-once-and-payload-bounded-original-parent-batches","complete-outline-candidates-without-density-derived-section-count-or-blind-title-deletion","project-specific-substance-without-history-driven-novelty-or-correct-content-rewriting","native-cad-literal-location-and-root-bound-annotation-reading","chief-read-scope-pagination-without-premature-human-source-deferral","versioned-native-pdf-ruled-cell-reading-with-original-glyph-conservation","painted-horizontal-cell-spans-with-physical-row-edge-conservation","explicit-native-ordinary-page-continuation-without-grid-or-canonical-inference","fact-extraction-output-capacity-bound-to-complete-source-payload","persistent-source-and-parameter-bound-ocr-cache-default","native-table-row-boundaries-and-source-preserved-physical-page-continuation","file-level-proof-once-and-scalar-source-evidence-without-child-metadata-duplication","producer-bound-metadata-excluded-with-complete-original-ledger","immutable-source-and-provenance-bound-effective-facts","chief-frozen-original-source-queries","preserved-author-annotations-without-inferred-criterion-binding","scoped-chief-engineering-controls-with-independent-applicability-review","dxf-declared-codepage-and-observable-source-judgments","unchecked-blind-means-open-and-content-only-front-matter","canonical-native-toc-without-cover-or-invented-page-numbers","question-answer-boundaries-and-independent-review-with-frozen-model","dimension-picture-blocks-and-honest-polyline-transforms","evidence-progress-driven-chief-source-and-cad-reading","native-writing-without-legacy-drawing-lock-preparation","native-writing-without-legacy-density-or-duplicate-bill-preparation","chief-reasoning-tools-with-provider-session-roundtrip","source-binding-defect-scopes-without-unrelated-writing-penalties","pre-writing-shared-construction-deployment-and-task-interfaces","no-unscoped-elevation-subtraction-in-frozen-facts","single-native-generation-and-finalization-pipeline","request-local-llm-failure-attribution","lazy-cad-instances-with-complete-source-definitions","atomic-per-file-reindex-with-preserved-valid-snapshots","explicit-user-section-protection-with-adjudicable-skill-candidates","whole-selected-material-pack-index-and-source-byte-admission","native-contract-required-for-archived-repair","source-content-page-read-closure-without-native-garbled-or-raster-shortcuts","independently-reviewed-project-source-application-and-selection-bridges","immutable-chief-source-application-receipts-and-resume-replay","native-skill-knowledge-without-retired-density-depth-or-example-contracts","preserved-technical-ocr-content-without-prose-density-page-discard","native-raster-resolution-with-verified-composite-fallback","no-whole-library-project-intelligence-preheat-or-shadow-model","preserved-original-material-without-destructive-business-text-cleaning","explicit-user-sections-and-adjudicable-skill-candidate-preview","preserved-cad-stacked-engineering-units-and-fractions","file-level-source-coverage-without-per-chunk-audit-duplication","signature-driven-cad-source-routing-for-mislabeled-files","actual-carrier-source-routing-without-binary-fragment-success","frozen-source-edition-domains-without-filename-or-model-confirmation-shortcuts","selected-source-fingerprint-worker-with-epoch-bound-complete-cache-admission","source-document-headings-without-incidental-clarification-reference-reclassification","scalar-knowledge-discovery-with-selected-parser-version-receipts","planned-arrangements-without-invented-project-geometry-or-design-properties"]}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=1928,exports.ids=[1928],exports.modules={18463:(a,b,c)=>{c.d(b,{Zk:()=>f,dh:()=>g,wD:()=>e});var d=c(8732);c(82015);let e="rounded-xl bg-[var(--colorBgContainer)] shadow-[var(--shadowSurface)] hover:shadow-[var(--shadowSurfaceHover)] transition-shadow";function f({title:a,count:b,description:c,extra:e,className:f,children:g}){return(0,d.jsxs)("section",{className:`rounded-2xl bg-[var(--colorBgContainer)] shadow-[var(--shadowSurface)] p-6 animateFadeIn ${f??""}`,children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start justify-between gap-3 mb-5",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("h2",{className:"text-base font-semibold text-[var(--colorText)] tracking-wide flex items-center gap-2 m-0",children:[a,void 0!==b&&(0,d.jsx)("span",{className:"text-[var(--colorTextTertiary)] font-normal text-sm",children:b})]}),c&&(0,d.jsx)("p",{className:"text-xs text-[var(--colorTextTertiary)] mt-1.5 mb-0 leading-relaxed max-w-3xl",children:c})]}),e]}),g]})}function g({children:a}){return(0,d.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider mb-2 text-[var(--colorTextTertiary)]",children:a})}},28017:(a,b,c)=>{c.d(b,{a:()=>e,j:()=>f});let d={coarse:function(a,b){let c=Math.floor(a/1e3),d=Math.floor(c/86400),e=Math.floor(c%86400/3600),f=Math.floor(c%3600/60),g="en-US"===b;return d>0?g?`${d}d ${e}h`:`${d} 天 ${e} 小时`:e>0?g?`${e}h ${f}m`:`${e} 小时 ${f} 分`:f>0?g?`${f}m`:`${f} 分`:g?"Just now":"刚刚"},fine:function(a){let b=Math.round(a/1e3);if(b<60)return`${b} 秒`;let c=Math.floor(b/60);return c<60?`${c} 分 ${b%60} 秒`:`${Math.floor(c/60)} 小时 ${c%60} 分`},"fine-decimal":function(a){return a>=6e4?`${Math.floor(a/6e4)} 分 ${Math.round(a%6e4/1e3)} 秒`:`${(a/1e3).toFixed(1)} 秒`},metric:function(a){return a<1e3?`${Math.round(a)}ms`:a<6e4?`${(a/1e3).toFixed(1)}s`:`${(a/6e4).toFixed(1)}min`}};function e(a,b){return d[b.style](function(a,b){let c="s"===b?1e3*a:a;return Number.isFinite(c)&&c>0?c:0}(a,b.unit),b.locale??"zh-CN")}function f(a,b="zh-CN"){return e(a,{unit:"s",style:"coarse",locale:b})}},61928:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>o});var e=c(8732),f=c(82015),g=c(94487),h=c(60056),i=c(79270),j=c(22147),k=c(89668),l=c(18463),m=a([g]);function n({title:a,value:b,subtext:c,icon:d,colorClass:f,animationClass:g}){return(0,e.jsxs)("div",{className:`p-4 ${l.wD} flex flex-col justify-between animateFadeIn ${g||""}`,style:{opacity:0},children:[(0,e.jsxs)("div",{className:"flex items-start justify-between mb-2",children:[(0,e.jsx)("div",{className:"text-xs font-semibold text-[var(--colorTextSecondary)] tracking-wide uppercase",children:a}),d&&(0,e.jsx)("div",{className:f,style:{opacity:.7},children:d})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-3xl font-bold tracking-tight",children:b}),c&&(0,e.jsx)("div",{className:"text-xs mt-1 truncate font-medium",style:{color:"var(--colorTextTertiary)"},children:c})]})]})}function o(){let a=(0,g.Vr)(),{locale:b}=(0,g.x_)(),{message:c}=h.qw.useApp(),[d,m]=(0,f.useState)(null),[o,p]=(0,f.useState)(!0),[q,r]=(0,f.useState)(0),[s,t]=(0,f.useState)(0),[u,v]=(0,f.useState)(0),[w,x]=(0,f.useState)(0),[y,z]=(0,f.useState)(null),[A,B]=(0,f.useState)(null),[C,D]=(0,f.useState)(null),[E,F]=(0,f.useState)(!1),[G,H]=(0,f.useState)(null),[I,J]=(0,f.useState)(null),[K,L]=(0,f.useState)(!1),[M,N]=(0,f.useState)([]),[O,P]=(0,f.useState)(!1),[Q,R]=(0,f.useState)(null),[S,T]=(0,f.useState)([]),U=(0,f.useCallback)(async()=>{p(!0);try{let a=[],b=(b,c,d)=>c.catch(()=>(a.push(b),d)),[c,d,e,f,g,h]=await Promise.all([b("系统统计",(0,j.FC)(),null),b("模型供应商",(0,j.Z3)(),[]),b("提示词",(0,j.dx)(),[]),b("生成记录",(0,j.cQ)(),{documents:[]}),b("嵌入配置",(0,j.II)(),null),b("资料分类",(0,j.BO)(),[])]);T(a),c&&m(c),r(Array.isArray(d)?d.length:0),t(Array.isArray(e)?e.length:0),v(Array.isArray(f.documents)?f.documents.length:0),x(Array.isArray(h)?h.filter(a=>a.fileCount>0).length:0),z(g),B(Date.now())}catch{}finally{p(!1)}},[]),V=(0,f.useCallback)(async a=>{let b=a?.silent===!0;F(!0);let d=Date.now(),e="overview-health-recheck";b||c.loading({content:"正在体检…",key:e,duration:0});try{let a=await (0,j.nn)();D(a);let f=Date.now()-d;H(d),J(f),b||c.success({content:`体检完成,耗时 ${f} ms`,key:e})}catch{b||c.error({content:"体检失败,请稍后重试",key:e})}finally{F(!1)}},[c]),W=d?.tasks.total?Math.round(d.tasks.success/d.tasks.total*100):null,X=d?.models?.[0],Y=d?.logs.latestAt?(0,k.fw)(new Date(d.logs.latestAt).getTime(),b):a("overview.noLogs");return(0,e.jsxs)("div",{className:"space-y-6",children:[S.length>0&&(0,e.jsx)("div",{role:"alert",className:"rounded-xl border border-[var(--colorDanger)]/30 bg-[var(--colorDanger)]/10 px-4 py-3 text-sm text-[var(--colorDanger)]",children:`${S.length} 项数据读取失败:${S.join("、")}——相关读数显示为「—」(未知),**不代表 0**;请稍后重试或查看服务端日志。`}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-end justify-between gap-4 pb-6 border-b border-[var(--borderColor)]",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h1",{className:"text-3xl font-extrabold tracking-tight text-[var(--colorText)] mb-2",children:a("overview.title")}),(0,e.jsx)("p",{className:"text-sm text-[var(--colorTextSecondary)]",children:a("overview.description")})]}),(0,e.jsxs)(h.$x,{children:[(0,e.jsxs)("span",{className:"text-xs font-mono",style:{color:"var(--colorTextTertiary)"},children:[a("overview.updated"),": ",A?new Date(A).toLocaleTimeString(b):"—"]}),(0,e.jsx)(h.$n,{type:"text",icon:(0,e.jsx)(i.ReloadOutlined,{spin:o}),onClick:()=>{U()}})]})]}),(0,e.jsx)(l.Zk,{title:a("overview.coreMetrics"),description:a("overview.coreMetricsDesc"),children:(0,e.jsxs)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,e.jsx)(n,{title:a("overview.uptime"),value:(0,k.je)(d?.serviceUptimeSeconds??0,b),subtext:`${a("overview.processUptime")} ${(0,k.je)(d?.uptime??0,b)}`,icon:(0,e.jsx)(i.ApiOutlined,{size:16}),colorClass:"text-[var(--colorBrand)]",animationClass:"stagger-1"}),(0,e.jsx)(n,{title:a("overview.tokensUsed"),value:(d?.tokens.total??0).toLocaleString(),subtext:`P ${d?.tokens.prompt??0} / C ${d?.tokens.completion??0}`,icon:(0,e.jsx)(i.ThunderboltOutlined,{size:16}),colorClass:"text-[var(--colorWarn)]",animationClass:"stagger-2"}),(0,e.jsx)(n,{title:a("overview.tasksTotal"),value:(d?.tasks.total??0).toLocaleString(),subtext:`✓ ${d?.tasks.success??0} | ✗ ${d?.tasks.failed??0} | ↻ ${d?.tasks.running??0}`,icon:(0,e.jsx)(i.FileTextOutlined,{size:16}),colorClass:"text-[var(--colorInfo)]",animationClass:"stagger-3"}),(0,e.jsx)(n,{title:a("overview.successRate"),value:null===W?"—":`${W}%`,subtext:null===W?a("overview.noDataAvailable"):void 0,icon:null!==W&&W>80?(0,e.jsx)(i.CheckCircleOutlined,{size:16}):(0,e.jsx)(i.CloseCircleOutlined,{size:16}),colorClass:null!==W&&W>80?"text-[var(--colorOk)]":"text-[var(--colorDanger)]",animationClass:"stagger-4"})]})}),(0,e.jsx)(l.Zk,{title:a("overview.systemResources"),description:a("overview.systemResourcesDesc"),children:(0,e.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:[(0,e.jsx)(n,{title:a("overview.materialUnderstanding"),value:w>0?String(w):"—",subtext:a(w>0?"overview.materialKinds":"common.noData"),animationClass:"stagger-5"}),(0,e.jsx)(n,{title:a("overview.prompts"),value:s,animationClass:"stagger-5"}),(0,e.jsx)(n,{title:a("overview.templateCount"),value:u,animationClass:"stagger-5"}),(0,e.jsx)(n,{title:a("overview.semanticModel"),value:y?.provider==="openai-compatible"?a("overview.external"):y?a("overview.local"):"—",subtext:y?.model??a("overview.notConfigured"),animationClass:"stagger-5"}),(0,e.jsx)(n,{title:a("overview.modelProviders"),value:q,animationClass:"stagger-5"}),(0,e.jsx)(n,{title:a("overview.auditLogs"),value:d?.logs.events??0,subtext:`${a("overview.lastActivity")} ${Y}`,animationClass:"stagger-5"})]})}),(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,e.jsx)(l.Zk,{title:a("overview.hardwareUsage"),description:a("overview.hardwareUsageDesc"),children:(0,e.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{className:`flex items-center gap-4 p-4 ${l.wD}`,children:[(0,e.jsx)(h.ke,{type:"dashboard",percent:d?.cpu.usagePercent??0,size:64,strokeColor:(d?.cpu.usagePercent??0)>80?"var(--colorDanger)":"var(--colorText)",strokeWidth:10}),(0,e.jsxs)("div",{className:"min-w-0",children:[(0,e.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:a("overview.cpuUsage")}),(0,e.jsxs)("div",{className:"text-xl font-bold",children:[d?.cpu.usagePercent?.toFixed(1)??"0.0","%"]}),(0,e.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[d?.cpu.cores??0," ",a("overview.cores")]})]})]}),(0,e.jsxs)("div",{className:`flex items-center gap-4 p-4 ${l.wD}`,children:[(0,e.jsx)(h.ke,{type:"dashboard",percent:d?.memory.usagePercent??0,size:64,strokeColor:(d?.memory.usagePercent??0)>80?"var(--colorDanger)":"var(--colorTextSecondary)",strokeWidth:10}),(0,e.jsxs)("div",{className:"min-w-0",children:[(0,e.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:a("overview.memoryUsage")}),(0,e.jsxs)("div",{className:"text-xl font-bold",children:[d?.memory.usagePercent??0,"%"]}),(0,e.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[d?.memory.usedMB??0," MB / ",d?.memory.totalMB??0," MB"]})]})]})]})}),(0,e.jsx)(l.Zk,{title:a("overview.activityContext"),description:a("overview.activityContextDesc"),children:(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsxs)("div",{className:`p-4 ${l.wD}`,children:[(0,e.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider text-[var(--colorTextTertiary)] mb-2",children:a("overview.topModel")}),X?(0,e.jsxs)("div",{className:"font-semibold flex items-center gap-2 min-w-0",children:[(0,e.jsx)(i.RobotOutlined,{className:"text-[var(--colorTextSecondary)] shrink-0"}),(0,e.jsx)("span",{className:"truncate",children:X.model}),(0,e.jsxs)("span",{className:"font-normal text-[var(--colorTextTertiary)] text-sm shrink-0",children:["@",X.provider]})]}):(0,e.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:a("overview.noDataAvailable")})]}),(0,e.jsxs)("div",{className:`p-4 ${l.wD}`,children:[(0,e.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider text-[var(--colorTextTertiary)] mb-3",children:a("overview.recentTaskTypes")}),d?.tasks.types&&Object.keys(d.tasks.types).length>0?(0,e.jsx)("div",{className:"flex flex-wrap gap-2",children:Object.entries(d.tasks.types).sort((a,b)=>b[1]-a[1]).map(([a,b])=>(0,e.jsxs)("div",{className:"px-2 py-1 rounded-lg text-xs font-mono bg-[var(--colorFillAlter)] text-[var(--colorTextSecondary)]",children:[a.slice(0,30)," ",(0,e.jsx)("span",{className:"ml-2 font-bold text-[var(--colorText)]",children:b})]},a))}):(0,e.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:a("common.noData")})]})]})})]}),(0,e.jsx)(l.Zk,{title:"数据体检与清理",description:"升级后旧数据会不会碍事、占了多少地方——先看清,再决定清什么",children:C?(0,e.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,e.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:`存储根 ${C.storageRoot}|工作流版本 ${C.workflowVersion}`}),(0,e.jsx)("div",{className:"flex flex-col gap-2",children:C.scopes.map(a=>(0,e.jsx)("div",{className:`p-3 flex items-start gap-3 ${l.wD}`,children:(0,e.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsx)("span",{className:"text-sm font-medium",children:a.label}),a.deletable?(0,e.jsx)(h.vw,{color:"blue",children:"可清理"}):(0,e.jsx)(h.vw,{children:"只体检"}),(0,e.jsx)("span",{className:"text-xs text-[var(--colorTextTertiary)]",children:`${a.files} 项|${(a.bytes/1048576).toFixed(1)} MB`})]}),(0,e.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)] mt-1",children:a.note})]})},a.key))}),C.legacy&&(0,e.jsxs)("div",{className:"p-3 flex flex-col gap-1",style:{background:"var(--colorFillQuaternary)",borderRadius:8},children:[(0,e.jsx)("div",{className:"text-sm",children:`历史类型残留:${C.legacy.recordsWithLegacyTypes}/${C.legacy.totalRecords} 条记录含已删除的节点类型(共 ${C.legacy.legacyNodes} 个节点)`}),(0,e.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:C.legacy.note})]}),(0,e.jsxs)(h.$x,{children:[(0,e.jsx)(h.$n,{size:"small",disabled:C.scopes.every(a=>!a.deletable),onClick:()=>{N([]),R(null),L(!0)},children:"清理可重建数据"}),(0,e.jsx)(h.$n,{size:"small",type:"text",loading:E,onClick:()=>{V()},children:"重新体检"}),G?(0,e.jsx)("span",{className:"text-xs text-[var(--colorTextTertiary)]",children:`上次体检 ${new Date(G).toLocaleTimeString(b)}${null!=I?` \xb7 耗时 ${I} ms`:""}`}):null]}),Q&&(0,e.jsx)(h.o5.Text,{type:"success",style:{fontSize:12},children:Q})]}):(0,e.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:a("common.noData")})}),(0,e.jsx)(h.aF,{title:"清理可重建数据",open:K,onCancel:()=>L(!1),okText:O?"清理中…":"确认清理",okButtonProps:{disabled:0===M.length||O,danger:!0},onOk:()=>{P(!0),(0,j.fc)(M).then(a=>{let b=a.removed.reduce((a,b)=>a+b.bytes,0);R(`已清理 ${a.removed.length} 项,释放 ${(b/1048576).toFixed(1)} MB`),D(a.report),L(!1)}).catch(a=>R(`清理失败:${a instanceof Error?a.message:String(a)}`)).finally(()=>P(!1))},children:(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsxs)(h.o5.Text,{type:"secondary",style:{fontSize:12},children:["只列**可重建**的数据:缓存键含内容与判据指纹,删掉只是下次重算。",(0,e.jsx)("br",{}),"生成记录、节点日志、技能库、知识库**不在清理范围**(那是你的资产)。"]}),(C?.scopes??[]).filter(a=>a.deletable).map(a=>(0,e.jsxs)("label",{className:"flex items-start gap-2 cursor-pointer",children:[(0,e.jsx)("input",{type:"checkbox",checked:M.includes(a.key),onChange:b=>N(c=>b.target.checked?[...c,a.key]:c.filter(b=>b!==a.key))}),(0,e.jsxs)("span",{className:"min-w-0",children:[(0,e.jsx)("span",{className:"text-sm",children:`${a.label}(${a.files} 项|${(a.bytes/1048576).toFixed(1)} MB)`}),(0,e.jsx)("span",{className:"block text-xs text-[var(--colorTextTertiary)]",children:a.note})]})]},a.key))]})})]})}g=(m.then?(await m)():m)[0],d()}catch(a){d(a)}})},89668:(a,b,c)=>{c.d(b,{Jm:()=>i,fw:()=>f,je:()=>d.j,mc:()=>j,z3:()=>e});var d=c(28017);function e(a){if(0===a)return"0 B";let b=Math.floor(Math.log(a)/Math.log(1024)),c=a/Math.pow(1024,b);return`${c.toFixed(+(0!==b))} ${["B","KB","MB","GB","TB"][b]}`}function f(a,b="zh-CN"){if(!a||a<=0)return"en-US"===b?"Never":"从未";let c=Math.floor(Math.floor((Date.now()-a)/1e3)/60),d=Math.floor(c/60),e=Math.floor(d/24);return e>30?new Date(a).toLocaleDateString(b):"en-US"===b?e>0?`${e}d ago`:d>0?`${d}h ago`:c>0?`${c}m ago`:"Just now":e>0?`${e} 天前`:d>0?`${d} 小时前`:c>0?`${c} 分钟前`:"刚刚"}let g={document:"文档",spreadsheet:"表格",image:"图片",cad:"图纸",code:"代码",data:"数据",web:"网页",diagram:"图表",archive:"压缩包",other:"其他"},h={document:"Document",spreadsheet:"Spreadsheet",image:"Image",cad:"CAD",code:"Code",data:"Data",web:"Web",diagram:"Diagram",archive:"Archive",other:"Other"};function i(a,b="zh-CN"){return("en-US"===b?h:g)[a]??a}let j={active:"common.statusIndexed",outdated:"common.statusOutdated",error:"common.statusAbnormal",deleted:"common.statusDeleted",disk:"common.statusNotIndexed"}}};
|
|
1
|
+
"use strict";exports.id=1928,exports.ids=[1928],exports.modules={18463:(a,b,c)=>{c.d(b,{Zk:()=>f,dh:()=>g,wD:()=>e});var d=c(8732);c(82015);let e="rounded-xl bg-[var(--colorBgContainer)] shadow-[var(--shadowSurface)] hover:shadow-[var(--shadowSurfaceHover)] transition-shadow";function f({title:a,count:b,description:c,extra:e,className:f,children:g}){return(0,d.jsxs)("section",{className:`rounded-2xl bg-[var(--colorBgContainer)] shadow-[var(--shadowSurface)] p-6 animateFadeIn ${f??""}`,children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start justify-between gap-3 mb-5",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("h2",{className:"text-base font-semibold text-[var(--colorText)] tracking-wide flex items-center gap-2 m-0",children:[a,void 0!==b&&(0,d.jsx)("span",{className:"text-[var(--colorTextTertiary)] font-normal text-sm",children:b})]}),c&&(0,d.jsx)("p",{className:"text-xs text-[var(--colorTextTertiary)] mt-1.5 mb-0 leading-relaxed max-w-3xl",children:c})]}),e]}),g]})}function g({children:a}){return(0,d.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider mb-2 text-[var(--colorTextTertiary)]",children:a})}},28017:(a,b,c)=>{c.d(b,{a:()=>e,j:()=>f});let d={coarse:function(a,b){let c=Math.floor(a/1e3),d=Math.floor(c/86400),e=Math.floor(c%86400/3600),f=Math.floor(c%3600/60),g="en-US"===b;return d>0?g?`${d}d ${e}h`:`${d} 天 ${e} 小时`:e>0?g?`${e}h ${f}m`:`${e} 小时 ${f} 分`:f>0?g?`${f}m`:`${f} 分`:g?"Just now":"刚刚"},fine:function(a){let b=Math.round(a/1e3);if(b<60)return`${b} 秒`;let c=Math.floor(b/60);return c<60?`${c} 分 ${b%60} 秒`:`${Math.floor(c/60)} 小时 ${c%60} 分`},"fine-decimal":function(a){return a>=6e4?`${Math.floor(a/6e4)} 分 ${Math.round(a%6e4/1e3)} 秒`:`${(a/1e3).toFixed(1)} 秒`},metric:function(a){return a<1e3?`${Math.round(a)}ms`:a<6e4?`${(a/1e3).toFixed(1)}s`:`${(a/6e4).toFixed(1)}min`}};function e(a,b){return d[b.style](function(a,b){let c="s"===b?1e3*a:a;return Number.isFinite(c)&&c>0?c:0}(a,b.unit),b.locale??"zh-CN")}function f(a,b="zh-CN"){return e(a,{unit:"s",style:"coarse",locale:b})}},33147:(a,b,c)=>{c.d(b,{z:()=>f});var d=c(8732);c(82015);var e=c(60056);function f({title:a,description:b,extra:c,bottomContent:f}){return(0,d.jsxs)("div",{className:"animateFadeIn",children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-end justify-between gap-4 pb-6 border-b border-[var(--borderColor)]",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("h1",{className:"text-3xl font-extrabold tracking-tight text-[var(--colorText)] mb-2",children:a}),b&&(0,d.jsx)("p",{className:"text-sm text-[var(--colorTextSecondary)] m-0",children:b})]}),c&&(0,d.jsx)(e.$x,{className:"w-full sm:w-auto overflow-x-auto pb-1 sm:pb-0 shrink-0",size:"middle",wrap:!1,children:c})]}),f&&(0,d.jsx)("div",{className:"mt-6",children:f})]})}},61928:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>p});var e=c(8732),f=c(82015),g=c(94487),h=c(60056),i=c(79270),j=c(22147),k=c(89668),l=c(18463),m=c(33147),n=a([g]);function o({title:a,value:b,subtext:c,icon:d,colorClass:f,animationClass:g}){return(0,e.jsxs)("div",{className:`p-4 ${l.wD} flex flex-col justify-between animateFadeIn ${g||""}`,style:{opacity:0},children:[(0,e.jsxs)("div",{className:"flex items-start justify-between mb-2",children:[(0,e.jsx)("div",{className:"text-xs font-semibold text-[var(--colorTextSecondary)] tracking-wide uppercase",children:a}),d&&(0,e.jsx)("div",{className:f,style:{opacity:.7},children:d})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-3xl font-bold tracking-tight",children:b}),c&&(0,e.jsx)("div",{className:"text-xs mt-1 truncate font-medium",style:{color:"var(--colorTextTertiary)"},children:c})]})]})}function p(){let a=(0,g.Vr)(),{locale:b}=(0,g.x_)(),{message:c}=h.qw.useApp(),[d,n]=(0,f.useState)(null),[p,q]=(0,f.useState)(!0),[r,s]=(0,f.useState)(0),[t,u]=(0,f.useState)(0),[v,w]=(0,f.useState)(0),[x,y]=(0,f.useState)(0),[z,A]=(0,f.useState)(null),[B,C]=(0,f.useState)(null),[D,E]=(0,f.useState)(null),[F,G]=(0,f.useState)(!1),[H,I]=(0,f.useState)(null),[J,K]=(0,f.useState)(null),[L,M]=(0,f.useState)(!1),[N,O]=(0,f.useState)([]),[P,Q]=(0,f.useState)(!1),[R,S]=(0,f.useState)(null),[T,U]=(0,f.useState)([]),V=(0,f.useCallback)(async()=>{q(!0);try{let a=[],b=(b,c,d)=>c.catch(()=>(a.push(b),d)),[c,d,e,f,g,h]=await Promise.all([b("系统统计",(0,j.FC)(),null),b("模型供应商",(0,j.Z3)(),[]),b("提示词",(0,j.dx)(),[]),b("生成记录",(0,j.cQ)(),{documents:[]}),b("嵌入配置",(0,j.II)(),null),b("资料分类",(0,j.BO)(),[])]);U(a),c&&n(c),s(Array.isArray(d)?d.length:0),u(Array.isArray(e)?e.length:0),w(Array.isArray(f.documents)?f.documents.length:0),y(Array.isArray(h)?h.filter(a=>a.fileCount>0).length:0),A(g),C(Date.now())}catch{}finally{q(!1)}},[]),W=(0,f.useCallback)(async a=>{let b=a?.silent===!0;G(!0);let d=Date.now(),e="overview-health-recheck";b||c.loading({content:"正在体检…",key:e,duration:0});try{let a=await (0,j.nn)();E(a);let f=Date.now()-d;I(d),K(f),b||c.success({content:`体检完成,耗时 ${f} ms`,key:e})}catch{b||c.error({content:"体检失败,请稍后重试",key:e})}finally{G(!1)}},[c]),X=d?.tasks.total?Math.round(d.tasks.success/d.tasks.total*100):null,Y=d?.models?.[0],Z=d?.logs.latestAt?(0,k.fw)(new Date(d.logs.latestAt).getTime(),b):a("overview.noLogs");return(0,e.jsxs)("div",{className:"space-y-6",children:[T.length>0&&(0,e.jsx)("div",{role:"alert",className:"rounded-xl border border-[var(--colorDanger)]/30 bg-[var(--colorDanger)]/10 px-4 py-3 text-sm text-[var(--colorDanger)]",children:`${T.length} 项数据读取失败:${T.join("、")}——相关读数显示为「—」(未知),**不代表 0**;请稍后重试或查看服务端日志。`}),(0,e.jsx)(m.z,{title:a("overview.title"),description:a("overview.description"),extra:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("span",{className:"text-xs font-mono",style:{color:"var(--colorTextTertiary)"},children:[a("overview.updated"),": ",B?new Date(B).toLocaleTimeString(b):"—"]}),(0,e.jsx)(h.$n,{type:"text",icon:(0,e.jsx)(i.ReloadOutlined,{spin:p}),onClick:()=>{V()}})]})}),(0,e.jsx)(l.Zk,{title:a("overview.coreMetrics"),description:a("overview.coreMetricsDesc"),children:(0,e.jsxs)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,e.jsx)(o,{title:a("overview.uptime"),value:(0,k.je)(d?.serviceUptimeSeconds??0,b),subtext:`${a("overview.processUptime")} ${(0,k.je)(d?.uptime??0,b)}`,icon:(0,e.jsx)(i.ApiOutlined,{size:16}),colorClass:"text-[var(--colorBrand)]",animationClass:"stagger-1"}),(0,e.jsx)(o,{title:a("overview.tokensUsed"),value:(d?.tokens.total??0).toLocaleString(),subtext:`P ${d?.tokens.prompt??0} / C ${d?.tokens.completion??0}`,icon:(0,e.jsx)(i.ThunderboltOutlined,{size:16}),colorClass:"text-[var(--colorWarn)]",animationClass:"stagger-2"}),(0,e.jsx)(o,{title:a("overview.tasksTotal"),value:(d?.tasks.total??0).toLocaleString(),subtext:`✓ ${d?.tasks.success??0} | ✗ ${d?.tasks.failed??0} | ↻ ${d?.tasks.running??0}`,icon:(0,e.jsx)(i.FileTextOutlined,{size:16}),colorClass:"text-[var(--colorInfo)]",animationClass:"stagger-3"}),(0,e.jsx)(o,{title:a("overview.successRate"),value:null===X?"—":`${X}%`,subtext:null===X?a("overview.noDataAvailable"):void 0,icon:null!==X&&X>80?(0,e.jsx)(i.CheckCircleOutlined,{size:16}):(0,e.jsx)(i.CloseCircleOutlined,{size:16}),colorClass:null!==X&&X>80?"text-[var(--colorOk)]":"text-[var(--colorDanger)]",animationClass:"stagger-4"})]})}),(0,e.jsx)(l.Zk,{title:a("overview.systemResources"),description:a("overview.systemResourcesDesc"),children:(0,e.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:[(0,e.jsx)(o,{title:a("overview.materialUnderstanding"),value:x>0?String(x):"—",subtext:a(x>0?"overview.materialKinds":"common.noData"),animationClass:"stagger-5"}),(0,e.jsx)(o,{title:a("overview.prompts"),value:t,animationClass:"stagger-5"}),(0,e.jsx)(o,{title:a("overview.templateCount"),value:v,animationClass:"stagger-5"}),(0,e.jsx)(o,{title:a("overview.semanticModel"),value:z?.provider==="openai-compatible"?a("overview.external"):z?a("overview.local"):"—",subtext:z?.model??a("overview.notConfigured"),animationClass:"stagger-5"}),(0,e.jsx)(o,{title:a("overview.modelProviders"),value:r,animationClass:"stagger-5"}),(0,e.jsx)(o,{title:a("overview.auditLogs"),value:d?.logs.events??0,subtext:`${a("overview.lastActivity")} ${Z}`,animationClass:"stagger-5"})]})}),(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,e.jsx)(l.Zk,{title:a("overview.hardwareUsage"),description:a("overview.hardwareUsageDesc"),children:(0,e.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{className:`flex items-center gap-4 p-4 ${l.wD}`,children:[(0,e.jsx)(h.ke,{type:"dashboard",percent:d?.cpu.usagePercent??0,size:64,strokeColor:(d?.cpu.usagePercent??0)>80?"var(--colorDanger)":"var(--colorText)",strokeWidth:10}),(0,e.jsxs)("div",{className:"min-w-0",children:[(0,e.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:a("overview.cpuUsage")}),(0,e.jsxs)("div",{className:"text-xl font-bold",children:[d?.cpu.usagePercent?.toFixed(1)??"0.0","%"]}),(0,e.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[d?.cpu.cores??0," ",a("overview.cores")]})]})]}),(0,e.jsxs)("div",{className:`flex items-center gap-4 p-4 ${l.wD}`,children:[(0,e.jsx)(h.ke,{type:"dashboard",percent:d?.memory.usagePercent??0,size:64,strokeColor:(d?.memory.usagePercent??0)>80?"var(--colorDanger)":"var(--colorTextSecondary)",strokeWidth:10}),(0,e.jsxs)("div",{className:"min-w-0",children:[(0,e.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:a("overview.memoryUsage")}),(0,e.jsxs)("div",{className:"text-xl font-bold",children:[d?.memory.usagePercent??0,"%"]}),(0,e.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[d?.memory.usedMB??0," MB / ",d?.memory.totalMB??0," MB"]})]})]})]})}),(0,e.jsx)(l.Zk,{title:a("overview.activityContext"),description:a("overview.activityContextDesc"),children:(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsxs)("div",{className:`p-4 ${l.wD}`,children:[(0,e.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider text-[var(--colorTextTertiary)] mb-2",children:a("overview.topModel")}),Y?(0,e.jsxs)("div",{className:"font-semibold flex items-center gap-2 min-w-0",children:[(0,e.jsx)(i.RobotOutlined,{className:"text-[var(--colorTextSecondary)] shrink-0"}),(0,e.jsx)("span",{className:"truncate",children:Y.model}),(0,e.jsxs)("span",{className:"font-normal text-[var(--colorTextTertiary)] text-sm shrink-0",children:["@",Y.provider]})]}):(0,e.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:a("overview.noDataAvailable")})]}),(0,e.jsxs)("div",{className:`p-4 ${l.wD}`,children:[(0,e.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider text-[var(--colorTextTertiary)] mb-3",children:a("overview.recentTaskTypes")}),d?.tasks.types&&Object.keys(d.tasks.types).length>0?(0,e.jsx)("div",{className:"flex flex-wrap gap-2",children:Object.entries(d.tasks.types).sort((a,b)=>b[1]-a[1]).map(([a,b])=>(0,e.jsxs)("div",{className:"px-2 py-1 rounded-lg text-xs font-mono bg-[var(--colorFillAlter)] text-[var(--colorTextSecondary)]",children:[a.slice(0,30)," ",(0,e.jsx)("span",{className:"ml-2 font-bold text-[var(--colorText)]",children:b})]},a))}):(0,e.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:a("common.noData")})]})]})})]}),(0,e.jsx)(l.Zk,{title:"数据体检与清理",description:"升级后旧数据会不会碍事、占了多少地方——先看清,再决定清什么",children:D?(0,e.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,e.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:`存储根 ${D.storageRoot}|工作流版本 ${D.workflowVersion}`}),(0,e.jsx)("div",{className:"flex flex-col gap-2",children:D.scopes.map(a=>(0,e.jsx)("div",{className:`p-3 flex items-start gap-3 ${l.wD}`,children:(0,e.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsx)("span",{className:"text-sm font-medium",children:a.label}),a.deletable?(0,e.jsx)(h.vw,{color:"blue",children:"可清理"}):(0,e.jsx)(h.vw,{children:"只体检"}),(0,e.jsx)("span",{className:"text-xs text-[var(--colorTextTertiary)]",children:`${a.files} 项|${(a.bytes/1048576).toFixed(1)} MB`})]}),(0,e.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)] mt-1",children:a.note})]})},a.key))}),D.legacy&&(0,e.jsxs)("div",{className:"p-3 flex flex-col gap-1",style:{background:"var(--colorFillQuaternary)",borderRadius:8},children:[(0,e.jsx)("div",{className:"text-sm",children:`历史类型残留:${D.legacy.recordsWithLegacyTypes}/${D.legacy.totalRecords} 条记录含已删除的节点类型(共 ${D.legacy.legacyNodes} 个节点)`}),(0,e.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:D.legacy.note})]}),(0,e.jsxs)(h.$x,{children:[(0,e.jsx)(h.$n,{size:"small",disabled:D.scopes.every(a=>!a.deletable),onClick:()=>{O([]),S(null),M(!0)},children:"清理可重建数据"}),(0,e.jsx)(h.$n,{size:"small",type:"text",loading:F,onClick:()=>{W()},children:"重新体检"}),H?(0,e.jsx)("span",{className:"text-xs text-[var(--colorTextTertiary)]",children:`上次体检 ${new Date(H).toLocaleTimeString(b)}${null!=J?` \xb7 耗时 ${J} ms`:""}`}):null]}),R&&(0,e.jsx)(h.o5.Text,{type:"success",style:{fontSize:12},children:R})]}):(0,e.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:a("common.noData")})}),(0,e.jsx)(h.aF,{title:"清理可重建数据",open:L,onCancel:()=>M(!1),okText:P?"清理中…":"确认清理",okButtonProps:{disabled:0===N.length||P,danger:!0},onOk:()=>{Q(!0),(0,j.fc)(N).then(a=>{let b=a.removed.reduce((a,b)=>a+b.bytes,0);S(`已清理 ${a.removed.length} 项,释放 ${(b/1048576).toFixed(1)} MB`),E(a.report),M(!1)}).catch(a=>S(`清理失败:${a instanceof Error?a.message:String(a)}`)).finally(()=>Q(!1))},children:(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsxs)(h.o5.Text,{type:"secondary",style:{fontSize:12},children:["只列**可重建**的数据:缓存键含内容与判据指纹,删掉只是下次重算。",(0,e.jsx)("br",{}),"生成记录、节点日志、技能库、知识库**不在清理范围**(那是你的资产)。"]}),(D?.scopes??[]).filter(a=>a.deletable).map(a=>(0,e.jsxs)("label",{className:"flex items-start gap-2 cursor-pointer",children:[(0,e.jsx)("input",{type:"checkbox",checked:N.includes(a.key),onChange:b=>O(c=>b.target.checked?[...c,a.key]:c.filter(b=>b!==a.key))}),(0,e.jsxs)("span",{className:"min-w-0",children:[(0,e.jsx)("span",{className:"text-sm",children:`${a.label}(${a.files} 项|${(a.bytes/1048576).toFixed(1)} MB)`}),(0,e.jsx)("span",{className:"block text-xs text-[var(--colorTextTertiary)]",children:a.note})]})]},a.key))]})})]})}g=(n.then?(await n)():n)[0],d()}catch(a){d(a)}})},89668:(a,b,c)=>{c.d(b,{Jm:()=>i,fw:()=>f,je:()=>d.j,mc:()=>j,z3:()=>e});var d=c(28017);function e(a){if(0===a)return"0 B";let b=Math.floor(Math.log(a)/Math.log(1024)),c=a/Math.pow(1024,b);return`${c.toFixed(+(0!==b))} ${["B","KB","MB","GB","TB"][b]}`}function f(a,b="zh-CN"){if(!a||a<=0)return"en-US"===b?"Never":"从未";let c=Math.floor(Math.floor((Date.now()-a)/1e3)/60),d=Math.floor(c/60),e=Math.floor(d/24);return e>30?new Date(a).toLocaleDateString(b):"en-US"===b?e>0?`${e}d ago`:d>0?`${d}h ago`:c>0?`${c}m ago`:"Just now":e>0?`${e} 天前`:d>0?`${d} 小时前`:c>0?`${c} 分钟前`:"刚刚"}let g={document:"文档",spreadsheet:"表格",image:"图片",cad:"图纸",code:"代码",data:"数据",web:"网页",diagram:"图表",archive:"压缩包",other:"其他"},h={document:"Document",spreadsheet:"Spreadsheet",image:"Image",cad:"CAD",code:"Code",data:"Data",web:"Web",diagram:"Diagram",archive:"Archive",other:"Other"};function i(a,b="zh-CN"){return("en-US"===b?h:g)[a]??a}let j={active:"common.statusIndexed",outdated:"common.statusOutdated",error:"common.statusAbnormal",deleted:"common.statusDeleted",disk:"common.statusNotIndexed"}}};
|